Re: shortcut keys for buttons.



Hi,

Try to use accelerators. Take a look at 
http://developer.gnome.org/doc/API/2.0/gtk/gtk-Keyboard-Accelerators.html#id3015290and
enjoy it.

Regards,

Afonso

On 9/19/05, Deekshit Mantampady <dmantamp gmail com> wrote:

Hi all,
I have a window, which has some buttons. Say OK, cancel and help.
I want to activate one of the button by ppressing a short cut key.
Say, when I press, "F10", OK should be actvated. "Pressing "ESC"
should activate cacnel and "F1" should activate "Help" button.


Any help...?


Thanks in advance
Deekshit M
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




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