Re: Underline accelerators in menu items
- From: Alex Larsson <alexl redhat com>
- To: <gtk-devel-list gnome org>
- Cc: Jeff Franks <jcf tpg com au>
- Subject: Re: Underline accelerators in menu items
- Date: Sat, 26 May 2001 23:29:08 -0400 (EDT)
On Sun, 27 May 2001, Jeff Franks wrote:
> .Hi,
>
> Now that 'gtk_menu_ensure_uline_accel_group' and 'gtk_label_parse_uline'
> have gone and mnemonic functions are used to set/get mnemonic widgets
> and key values how do you set an underline accelerator for a menu item.
> Shouldn't there be some function(s) to make this easier than having to
> retrieve a handle to the 'private' label widget and using GtkLabel's new
> mnemonic functions. Should underline acclerators get parsed
> automatically as they are in GtkItemfactory.
Having some helper functions here would probably be good.
I suggest gtk_menu_item_new_with_mnemonic() and
gtk_accel_label_new_with_mnemonic().
/ Alex
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]