EventController


Object Hierarchy:

Gtk.EventController Gtk.EventController Gtk.EventController GLib.Object GLib.Object GLib.Object->Gtk.EventController

Description:

[ CCode ( type_id = "gtk_event_controller_get_type ()" ) ]
public abstract class EventController : Object

`GtkEventController` is the base class for event controllers.

These are ancillary objects associated to widgets, which react to `GdkEvents`, and possibly trigger actions as a consequence.

Event controllers are added to a widget with [[email protected]_controller]. It is rarely necessary to explicitly remove a controller with [[email protected]_controller].

See the chapter on [input handling](input-handling.html) for an overview of the basic concepts, such as the capture and bubble phases of even propagation.


Namespace: Gtk
Package: gtk4

Content:

Properties:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.Object



2022 vala-language.org