Class

GtkEventController

Description [src]

abstract class Gtk.EventController : GObject.Object {
  /* No available fields */
}

GtkEventController is a base, low-level implementation for event controllers. Those react to a series of GdkEvents, and possibly trigger actions as a consequence of those.

Hierarchy

hierarchy this GtkEventController ancestor_0 GObject ancestor_0--this

Ancestors

Instance methods

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

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

Signals inherited from GObject (1)

Class structure

struct GtkEventControllerClass {
  /* no available fields */
}