[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-app-devel
Subject:    Re: GtkTextView all caps tag
From:       Paolo Costabel <paoloc () pacbell ! net>
Date:       2004-12-28 0:41:49
Message-ID: 41D0ABCD.9060407 () pacbell ! net
[Download RAW message or body]

Thanks, but the problem is that there is no Pango tag for All Caps.
Apparently there is no way to define custom Pango tags either :(

Vladislav Grinchenko wrote:

>Paolo,
>
>TreeView supports Pango markup language. Search the
>gtkmm-list archive for Pango - there was a discussion
>recently related how apply markup.
>
>If amount of text you're manipulating with is relatively small,
>you can take a shortcut and use Gtk::Label. That's what I
>do - keep my text in an XML file and apply Pango tags 
>to it before I put it into a label.
>
>-Vlad
>
>
>
>
>On Sun, 2004-12-26 at 14:57, Paolo Costabel wrote:
>  
>
>>Actually, I'm using a text view, not a tree view. To my knowledge,  
>>there is no way to add your own text renderer for a text view.
>>
>>On Dec 24, 2004, at 8:51 AM, Vladislav Grinchenko wrote:
>>
>>    
>>
>>>Paolo,
>>>
>>>perhaps you might want to write your own custom text cell
>>>renderer.
>>>
>>>TreeView tutorial has a chapter on the subject:
>>>
>>>http://scentric.net/tutorial/treeview-tutorial.html
>>>
>>>hope this helps,
>>>--Vlad
>>>
>>>On Thu, 2004-12-23 at 18:30, Paolo Costabel wrote:
>>>      
>>>
>>>>Thanks, but that's not what I need. I want to display the text all  
>>>>caps
>>>>without converting it, so that I can switch back to the original if  
>>>>needed.
>>>>
>>>>Liquid wrote:
>>>>
>>>>        
>>>>
>>>>>On Wed, 2004-12-22 at 13:35 -0800, Paolo Costabel wrote:
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>Hi,
>>>>>>
>>>>>>I'm developing a script writing  application that uses GtkTextView.  
>>>>>>I
>>>>>>need to implement an all caps style, but unfortunately none of the
>>>>>>available Pango style tags support displaying the text all caps. I  
>>>>>>could
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>(...)
>>>>>
>>>>>maybe you can have a look at the gdk keymap values.
>>>>>http://developer.gnome.org/doc/API/2.0/gdk/gdk-Keyboard-
>>>>>Handling.html#gdk-keyval-to-upper
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>Thanks,
>>>>>>
>>>>>>Paolo
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>happy xmas
>>>>>
>>>>>_______________________________________________
>>>>>gtk-app-devel-list mailing list
>>>>>gtk-app-devel-list@gnome.org
>>>>>http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>_______________________________________________
>>>>gtk-app-devel-list mailing list
>>>>gtk-app-devel-list@gnome.org
>>>>http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>>>>        
>>>>
>>>-- 
>>>_____________________________________________________________
>>>Vladislav Grinchenko       http://home.comcast.net/~3rdshift/
>>>                                 e-mail: 3rdshift@comcast.net
>>>
>>>      Focus on quality, and productivity will follow.
>>>_____________________________________________________________
>>>
>>>
>>>      
>>>
>>Zebra Development Technical Support
>>    
>>
>support@zebradevelopment.com
>  
>


-- 
Get Firefox! <http://www.getfirefox.com>

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic