Main.keySnooperInstall

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

class Main
static
uint
keySnooperInstall

Parameters

snooper GtkKeySnoopFunc

a 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().

Meta