[pygtk] Accelerators, -groups and -maps

Arjan Molenaar arjanmolenaar at hetnet.nl
Fri Nov 26 17:36:40 WST 2004


Hi,

I'm having some difficulty understanding the concepts of GtkAccelGroup 
in relation to accel-paths.

I'm using accelerators throughout my project and they work. I put them 
in an accel_group and connect them to the gtkWindow. This all works 
fine. The only issue here is that I can not activate accelerators 
directly when they are placed in a popup menu (since popup menu's are 
created on command). This is not the real issue though.

I'm wondering about .accel-paths, like <Window>/File/Save. What is their 
purpose and how can the help me create better programs? They do not seem 
dependant on the ordering of the actual menus...

Thanks,

Arjan


More information about the pygtk mailing list