Re: Do something clever on a keypress with Gtk2-0.92?



You might try ItemFactory -- you could build the menu with the callbacks
and accelgroup, hook it up to the window, but simply not display it. I
recently created something similar, and it should work. Email me if you
want an example.

I thought about that but it appears to be more work than just looking
for keypress events.  Also, how do you trap something like "F10"?

Thanks for the idea though!!



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