Function
GtkKeySnoopFunc
Declaration
gint
(* GtkKeySnoopFunc) (
GtkWidget* grab_widget,
GdkEventKey* event,
gpointer func_data
)
Description [src]
Key snooper functions are called before normal event delivery. They can be used to implement custom key event handling.
Parameters
grab_widget-
Type:
GtkWidgetThe widget to which the event will be delivered.
The data is owned by the caller of the function. event-
Type:
GdkEventKeyThe key event.
The data is owned by the caller of the function. func_data-
Type:
gpointerData supplied to gtk_key_snooper_install().
The argument can be NULL.The data is owned by the caller of the function.