newbie key binding question



Hi all, I'm new to GTK+ usage, but I'm learning quickly.

I wish to set up a key (say, F4) and have it attached to a button, so when F4 is pressed the button's signal is emitted just like a mouse click. I'm familiar with setting up global accelerators (CTRL+Q, etc), but all I want is a single key binding on one button widget on one widget instance. This will not be used globally and only one time. I've seen the GtkBinding page and how it describes RC file usage, but I'd rather not use such a beefy method for just one key...

Any pointers are welcome.

Thanks,
Michael



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