FW: Map Keyboard keys to the application button



Title: FW: Map Keyboard keys to the application button

Thanks Emil, for your suggestion. That worked. Earlier I was using Gtk::Main signal_key_snooper
and complicating my life.I have been trying to send this email from morning, and looks like therez some problem with our email-server. Hope this gets sent out atleast now.

Thanks again
Sirisha



-----Original Message-----
From: Sirisha Muppavarapu
Sent: Mon 2/12/2007 9:58 AM
To: Emil Nowak
Subject: Re: Map Keyboard keys to the application button

Thanks Emil, That works!!! Earlier I was using Gtk::Main
signal_key_snooper and complicating my life.

Thanks
Sirisha

PS: Looks like something is wrong with my email client. I have been
trying to send this email again and again.

On Sun, 2007-02-11 at 14:48 +0100, Emil Nowak wrote:
> 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.
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list



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