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

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



On Thu, 2003-08-07 at 17:59, Matthew Weier OPhinney wrote:
> -- Tom Cross <tomc kendeco com> wrote
> (on Thursday, 07 August 2003, 04:42 PM -0500):
> > > 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"?
> 
> Use 'F10' as the accelerator... ;-) 

In the examples they use stuff like '<control>N'.  I just need to put
'F10' in it's place?  Cool...  That actually makes sense!  :-)



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