Underline accelerators in menu items


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.


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