Main.keySnooperInstall

Warning gtk_key_snooper_install has been deprecated since version 3.4 and should not be used in newly-written code. Key snooping should not be done. Events should be handled by widgets. 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