GtkEventControllerLegacy — Event controller for miscellaneous events
GObject ╰── GtkEventController ╰── GtkEventControllerLegacy
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 (
Creates a new legacy event controller.
the newly created event controller.
typedef struct _GtkEventControllerLegacy GtkEventControllerLegacy;
gboolean user_function (GtkEventControllerLegacy *controller, GdkEvent *event, gpointer user_data)
Emitted for each GDK event delivered to
the object which received the signal.
the GdkEvent which triggered this signal
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
© 2005–2020 The GNOME Project
Licensed under the GNU Lesser General Public License version 2.1 or later.