Function

Gtkkey_snooper_install

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.

Parameters

snooper GtkKeySnoopFunc
 

A GtkKeySnoopFunc.

func_data gpointer
 

Data to pass to snooper.

Return value

Returns: guint
 

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