[ CCode ( instance_pos = 1.9 ) ]
public delegate int KeySnoopFunc (KeyEventStruct event)
An KeySnoopFunc is a type of callback which is called whenever a key event occurs, if registered via atk_add_key_event_listener.
It allows for pre-emptive interception of key events via the return code as described below.
event |
an AtkKeyEventStruct containing information about the key event for which notification is being given. |
user_data |
a block of data which will be passed to the event listener, on notification. |