key_snooper_install


Description:


[ Version ( deprecated = true , deprecated_since = "3.4" ) ]
public uint key_snooper_install (KeySnoopFunc snooper)

Warning: key_snooper_install is deprecated since 3.4.

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

Note:

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

Parameters:

snooper

a KeySnoopFunc

func_data

data to pass to snooper

Returns:

a unique id for this key snooper for use with key_snooper_remove.


Namespace: Gtk
Package: gtk+-3.0



2022 vala-language.org