Package org.gnome.gtk

Class EventController

java.lang.Object
All Implemented Interfaces:
Proxy
Direct Known Subclasses:
DropControllerMotion, DropTarget, DropTargetAsync, EventController.EventControllerImpl, EventControllerFocus, EventControllerKey, EventControllerLegacy, EventControllerMotion, EventControllerScroll, Gesture, PadController, ShortcutController

@Generated("io.github.jwharm.JavaGI") public abstract class EventController extends GObject
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 Widget.addController(org.gnome.gtk.EventController). It is rarely necessary to explicitly remove a controller with Widget.removeController(org.gnome.gtk.EventController).

See the chapter on input handling for an overview of the basic concepts, such as the capture and bubble phases of event propagation.