Re: simple markup format
- From: Havoc Pennington <hp redhat com>
- To: Pavel Machek <pavel ucw cz>
- Cc: gtk-devel-list gnome org
- Subject: Re: simple markup format
- Date: 28 Aug 2000 08:25:13 -0400
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]