KeyCallback


Description:

[ CCode ( instance_pos = 6.9 ) ]
public delegate void KeyCallback (Device device, bool pressed, uint keycode, uint keysym, uint modifiers, string keystring)

A callback that will be invoked when a key is pressed.

Parameters:

device

the device.

pressed

TRUE if the key is being pressed, FALSE if being released.

keycode

the hardware code for the key.

keysym

the keysym for the key.

modifiers

a bitflag indicating which key modifiers are active.

keystring

the text corresponding to the keypress.

user_data

user-supplied data


Namespace: Atspi
Package: atspi-2