Method

GtkEventControllerhandle_event

since: 3.14

Declaration [src]

gboolean
gtk_event_controller_handle_event (
  GtkEventController* controller,
  const GdkEvent* event
)

Description [src]

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

Available since: 3.14

Parameters

event

Type: GdkEvent

A GdkEvent.

The data is owned by the caller of the method.

Return value

Type: gboolean

TRUE if the event was potentially useful to trigger the controller action.