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 <[EMAIL PROTECTED]> 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
>
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to