Re: simple markup format



Pavel Machek <pavel@ucw.cz> writes: 
> Maybe it is time to consider this?
> 
> On Windows, when you set button label to "Bu&tton label", t becomes
> underlined, and becomes accelerator for given button. Last time I
> looked, gtk was not able to do something similar. Do you plan it?
>

GTK does have this (gtk_label_parse_uline()). GTK 2.0 has
gtk_button_new_accel() that uses gtk_label_parse_uline(). As you can
see from the name it uses _ instead of &, but same idea.

Havoc





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