Re: Access to a single character in a button label

2007-05-26 Thread Yeti
On Sat, May 26, 2007 at 03:11:24AM +0200, Jean-Louis Schmitt wrote:
 
 Is it possible to change the color or to underline only one character of a 
 gtt_button label?

Do you want to underline a character that is NOT a mnemonic
character of the button?  That would be highly confusing.

Anyway, you can pack a GtkLabel into the button manually
instead of using gtk_button_new_with...(), and you can use
Pango markup in this label to change color, font or
anything.

Yeti

--
http://gwyddion.net/
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Access to a single character in a button label

2007-05-25 Thread Jean-Louis Schmitt
Hi,

Is it possible to change the color or to underline only one character of a 
gtt_button label?

I'm using GTK 2.x.

Any help would be welcome.

Regards

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list