Re: Access to a single character in a button label



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/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]