EventControllerKey
GtkEventControllerKey
is an event controller that provides access to key events.
Constructors
Properties
Functions
Emits the "im-update" signal. See onImUpdate.
Emits the "key-released" signal. See onKeyReleased.
Returns the event that is currently being handled by the controller.
Returns the device of the event that is currently being handled by the controller.
Returns the modifier state of the event that is currently being handled by the controller.
Returns the timestamp of the event that is currently being handled by the controller.
Gets the input method context of the key @controller.
Emitted whenever the input method context filters away a keypress and prevents the @controller receiving it.
Emitted whenever a key is pressed.
Emitted whenever a key is released.
Emitted whenever the state of modifier keys and pointer buttons change.
Sets the input method context of the key @controller.
Sets a name on the controller that can be used for debugging.