Re: Map Keyboard keys to the application button



On 2007-02-11, at 02:48:07 Sirisha Muppavarapu wrote:

> Hi all...
> 
> I have this application with 4 buttons and the button positions are 
> fixed (at the bottom) in the window of the application. Now, I would
> like to map Keyboard keys, say F1,F2,F3,F4 with the buttons in the
> application. Can you please suggest how can I go about doing this?

Every widget has signal_key_press_event() so you can connect your own callback
to your main Window, and do what you want.



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