That lets you detect ctrl-esc anywhere on the desktop. If you only need to detect crtl-ecs within your window you can just set "<Control>Escape" as an accelerator, see:
http://developer.gnome.org/gtk3/stable/gtk3-Keyboard-Accelerators.html On 30 August 2011 06:33, czk <[email protected]> wrote: > try gdk_window_add_filter or gtk_key_snooper_install > > 2011/8/30 Andrew Wood <[email protected]> > >> Is there a way to regiser a handler function which will be called whenever >> the user presses Ctrl-Esc in a GTK app? >> >> Thanks >> >> ______________________________**_________________ >> gtk-app-devel-list mailing list >> [email protected] >> http://mail.gnome.org/mailman/**listinfo/gtk-app-devel-list<http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list> >> > _______________________________________________ > gtk-app-devel-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > _______________________________________________ gtk-app-devel-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
