Package: gtk

Class gtk-event-controller-key

Superclasses

gtk-event-controller, g-object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

None

Details

gtk-event-controller-key is an event controller meant for situations where you need access to key events.

This object was added in GTK 3.24.

Signal Details

The "focus-in" signal
  lambda (eventcontrollerkey)    : Run Last      
Since 3.24
eventcontrollerkey
The gtk-event-controller-key object on which the signal is emitted.
The "focus-out" signal
  lambda (controller)    : Run Last      
Since 3.24
controller
The gtk-event-controller-key object on which the signal is emitted.
The "im-update" signal
  lambda (controller)    : Run Last      
Since 3.24
controller
The gtk-event-controller-key object on which the signal is emitted.
The "key-pressed" signal
  lambda (controller keyval keycode state)    :run-last      
The signal is emitted whenever a key is pressed. Since 3.24
controller
The gtk-event-controller-key object on which received the signal.
keyval
An unsigned integer with the pressed key.
keycode
An unsigned integer with the raw code of the pressed key.
state
The gdk-modifier-type bitmask representing the state of modifier keys and pointer buttons.
Returns
True if the key press was handled, false otherwise.
The "key-released" signal
  lambda (controller keyval keycode state)    :run-last      
The signal is emitted whenever a key is released. Since 3.24
controller
The gtk-event-controller-key object on which received the signal.
keyval
An unsigned integer with the released key.
keycode
An unsigned integer with the raw code of the released key.
state
The gdk-modifier-type bitmask representing the state of modifier keys and pointer buttons.
The "modifiers" signal
  lambda (controller state)    : Run Last      
Since 3.24
controller
The gtk-event-controller-key object on which received the signal.
state
The bitmask, representing the state of modifier keys and pointer buttons of type gdk-modifier-type.
Returns
a not documented boolean
 

Inherited Slot Access Functions

See also

2020-9-10