Class

GtkEventControllerKey

Description [src]

final class Gtk.EventControllerKey : Gtk.EventController {
  /* No available fields */
}

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

This object was added in 3.24.

Hierarchy

hierarchy this GtkEventControllerKey ancestor_0 GtkEventController ancestor_0--this ancestor_1 GObject ancestor_1--ancestor_0

Constructors

gtk_event_controller_key_new
No description available.

Instance methods

gtk_event_controller_key_forward
No description available.
gtk_event_controller_key_get_group
No description available.
gtk_event_controller_key_get_im_context

Gets the IM context of a key controller.

Available since: 3.24

gtk_event_controller_key_set_im_context
No description available.
Methods inherited from GtkEventController (5)
gtk_event_controller_get_propagation_phase

Gets the propagation phase at which controller handles events.

Available since: 3.14

gtk_event_controller_get_widget

Returns the GtkWidget this controller relates to.

Available since: 3.14

gtk_event_controller_handle_event

Feeds an events into controller, so it can be interpreted and the controller actions triggered.

Available since: 3.14

gtk_event_controller_reset

Resets the controller to a clean state. Every interaction the controller did through GtkEventController::handle-event will be dropped at this point.

Available since: 3.14

gtk_event_controller_set_propagation_phase

Sets the propagation phase at which a controller handles events.

Available since: 3.14

Methods inherited from GObject (42)

Properties

Properties inherited from GtkEventController (2)
Gtk.EventController:propagation-phase

The propagation phase at which this controller will handle events.

Available since: 3.14

Gtk.EventController:widget

The widget receiving the GdkEvents that the controller will handle.

Available since: 3.14

Signals

Gtk.EventControllerKey::focus-in
No description available.
Gtk.EventControllerKey::focus-out
No description available.
Gtk.EventControllerKey::im-update
No description available.
Gtk.EventControllerKey::key-pressed

This signal is emitted whenever a key is pressed.

Available since: 3.24

Gtk.EventControllerKey::key-released

This signal is emitted whenever a key is released.

Available since: 3.24

Gtk.EventControllerKey::modifiers
No description available.
Signals inherited from GObject (1)

Class structure

struct GtkEventControllerKeyClass {
  /* no available fields */
}