Top | ![]() |
![]() |
![]() |
![]() |
GtkEventControllerLegacy is an event controller that gives you direct access to the event stream. It should only be used as a last resort if none of the other event controllers or gestures do the job.
GtkEventController *
gtk_event_controller_legacy_new (void
);
Creates a new legacy event controller.
“event”
signalgboolean user_function (GtkEventControllerLegacy *controller, GdkEvent *event, gpointer user_data)
Emitted for each GDK event delivered to controller
.
controller |
the object which received the signal. |
|
event |
the GdkEvent which triggered this signal |
|
user_data |
user data set when the signal handler was connected. |
TRUE
to stop other handlers from being invoked for the event
and the emission of this signal. FALSE
to propagate the event further.
Flags: Run Last