Main.keySnooperInstall

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

More...
struct Main
static
uint
keySnooperInstall

Parameters

snooper GtkKeySnoopFunc
funcData void*

data to pass to snooper

Return Value

Type: uint

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

Detailed Description

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