gtkmm: Event Controllers and Gestures

gtkmm 4.12.0

Classes
Event Controllers and Gestures

These classes handle input events. More...

## Classes
class | Gtk::DragSource
| Event controller to initiate DND operations. More...
class | Gtk::DropControllerMotion
| Event controller for motion events during a drop. More...
class | Gtk::DropTarget
| Event controller to receive DND drops. More...
class | Gtk::DropTargetAsync
| Event controller to receive DND drops. More...
class | Gtk::EventController
| Self-contained handler of series of events. More...
class | Gtk::EventControllerFocus
| Event controller for focus. More...
class | Gtk::EventControllerKey
| Event controller for key events. More...
class | Gtk::EventControllerLegacy
| Event controller that provides raw access to the event stream. More...
class | Gtk::EventControllerMotion
| Event controller for motion events. More...
class | Gtk::EventControllerScroll
| Event controller for scroll events. More...
class | Gtk::Gesture
| Abstract base class for gestures. More...
class | Gtk::GestureClick
| Multipress gesture. More...
class | Gtk::GestureDrag
| Drag gesture. More...
class | Gtk::GestureLongPress
| "Press and Hold" gesture. More...
class | Gtk::GesturePan
| Pan gesture. More...
class | Gtk::GestureRotate
| Rotate gesture. More...
class | Gtk::GestureSingle
| Abstract base class for mouse/single-touch gestures. More...
class | Gtk::GestureStylus
| Gesture for stylus input. More...
class | Gtk::GestureSwipe
| Swipe gesture. More...
class | Gtk::GestureZoom
| Zoom gesture. More...
class | Gtk::PadController
| Event controller for drawing tablet pads. More...
class | Gtk::Shortcut
| An object describing a keyboard shortcut. More...
class | Gtk::ShortcutAction
| Tracking if shortcuts should be activated. More...
class | Gtk::ShortcutController
| Event controller for shortcuts. More...
class | Gtk::ShortcutTrigger
| Triggers to track if shortcuts should be activated. More...

## Detailed Description

These classes handle input events.

Event controllers are standalone objects that can perform specific actions upon received Gdk::Events. These are tied to a Widget, and can be told of the event propagation phase at which they will manage the events.

Gestures are a set of specific controllers that are prepared to handle pointer and/or touch events. Each gestures implementation attempts to recognize specific actions out of the received events, notifying of the state/progress accordingly to let the widget react to those. On multi-touch gestures, every interacting touch sequence will be tracked independently.

See the Overview of GTK input and event handling for more information about input events and gestures.

Since gtkmm 3.14: