Function

Gtkkey_snooper_install

deprecated: 3.4 

Declaration [src]

guint
gtk_key_snooper_install (
  GtkKeySnoopFunc snooper,
  gpointer func_data
)

Description [src]

Installs a key snooper function, which will get called on all key events before delivering them normally.

Deprecated since: 3.4

Key snooping should not be done. Events should be handled by widgets.

This function is not directly available to language bindings.

Parameters

snooper

Type: GtkKeySnoopFunc

A GtkKeySnoopFunc.

func_data

Type: gpointer

Data to pass to snooper.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: guint

A unique id for this key snooper for use with gtk_key_snooper_remove().