AccelGroup vs AcceleratorTable



hi,

I was using Gtk_MenuFactory and MenuFactoryConnector classes to create a
menu for a window and connect menu items to member functions of my class
but I couldn't make the menu's hot keys working:  Due to the latest
versions of gtk/gtk-- I use (glib-1.1.1, gtk+-1.1.1 and gtk--0.9.14),
functions like Gtk_Window::add/remove_accelerator_table(),
Gtk_MenuFactory::get_accelerator_table() are not available anymore. 
Somewhere I saw Gtk_AccelGroup object as member to Gtk_MenuFactory (maybe
to replace Gtk_AcceleratorTable?), but couldn't see the corresponding
functions. 

Can anyone tell me how to get around with this?

Thanks for your reply.






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