Hi, Am Freitag, den 26.11.2004, 10:36 +0100 schrieb Arjan Molenaar: > 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...
You can change menu item accelerators by hovering on them with the mouse pointer and pressing some key on the keyboard. You can save that using gtk_accel_map_save and gtk_accel_map_load. The stored file uses the accelpaths to associate the stored entry with the menu entry. cheers, Danny -- www.keyserver.net key id A334AEA6
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
