key_snooper_install


Description:


public uint key_snooper_install (KeySnoopFunc snooper)

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+-2.0