Menu & Accelarator



Hi out there,

can anybody explain wat I can do with the following function :

gtkmenu.h:
void gtk_menu_set_accel_group(GtkMenu *menu, GtkAccelGroup *accel_group);

I want to use shortcuts to menuitems, which belong to a specific menu. These shortcuts should be activated only, if I opened the menu, they belong to. ( Handling like Win32 ... )

Ciao,
Joerg



                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     



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