Re: [gtk-list] AccelGroup vs AcceleratorTable



Lixin Tang <ltang@auto.ugcs.caltech.edu> writes:
> 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. 

Looks like Gtk_AccelGroup has not been implemented for gtk-- yet :(
Guess we'll need to make an implementation of it. (1.1 support is not
yet complete it seems :)

> Can anyone tell me how to get around with this?

I implemented part of it today, it'll go to cvs very soon.

-- 
-- Tero Pulkkinen -- terop@modeemi.cs.tut.fi --



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