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.

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.

since: 3.14

gtk_event_controller_get_widget

Returns the GtkWidget this controller relates to.

since: 3.14

gtk_event_controller_handle_event

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

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.

since: 3.14

gtk_event_controller_set_propagation_phase

Sets the propagation phase at which a controller handles events.

since: 3.14

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

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

The propagation phase at which this controller will handle events.

since: 3.14

Gtk.EventController:widget

The widget receiving the GdkEvents that the controller will handle.

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.

since: 3.24

Gtk.EventControllerKey::key-released

This signal is emitted whenever a key is released.

since: 3.24

Gtk.EventControllerKey::modifiers
No description available.

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct GtkEventControllerKeyClass {
  /* no available fields */
}

No description available.