gtk.event_controller.EventController 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 gtk.widget.Widget.addController. It is rarely necessary to explicitly remove a controller with gtk.widget.Widget.removeController.
See the chapter on input handling for an overview of the basic concepts, such as the capture and bubble phases of event propagation.
gtk.event_controller.EventController 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 gtk.widget.Widget.addController. It is rarely necessary to explicitly remove a controller with gtk.widget.Widget.removeController.
See the chapter on input handling for an overview of the basic concepts, such as the capture and bubble phases of event propagation.