[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-app-devel
Subject:    Re: Accelerator keys and popup menus?
From:       Stefan Kost <ensonic () hora-obscura ! de>
Date:       2007-08-19 21:00:58
Message-ID: 46C8AF8A.50701 () hora-obscura ! de
[Download RAW message or body]

Hi,

I've commented on this bug:
http://bugzilla.gnome.org/show_bug.cgi?id=143007#c6

Stefan

Stefan Kost wrote:
> Hi,
> 
> Daniel Pekelharing wrote:
>> Hi all,
>>
>> Sorry to be posting yet more questions about accel keys...
>>
>> I have created a popup menu and assigned accelerator keys to some of the
>> items,
>>
>> I assigned a GtkAccelGroup to the menu using
>> gtk_menu_set_accel_group(..),
>>
>> I attached the same GtkAccelGroup to the main window with
>> gtk_window_add_accel_group(..),
>>
>> I assigned each item an accel path gtk_menu_item_set_accel_path(..),
>> and finally I set an accelerator key with gtk_accel_map_add_entry(..).
>>
>> The problem is that the accelerator keys don't work on the popup menu,
>> using the exact same functions they work fine on the main menu..
>>
>> Am I missing something somewhere?
>>
>> Thanks!
> 
> I seem to have the same problem. Have you found a solution in the last 2 years?
> 
> Stefan
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic