EventControllerMotion


Object Hierarchy:

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

Description:

[ CCode ( type_id = "gtk_event_controller_motion_get_type ()" ) ]
public sealed class EventControllerMotion : EventController

`GtkEventControllerMotion` is an event controller tracking the pointer position.

The event controller offers [signal@Gtk.EventControllerMotion:GtkEventControllerMotion:enter] and [ signal@Gtk.EventControllerMotion:GtkEventControllerMotion:leave] signals, as well as [property@Gtk.EventControllerMotion:is-pointer ] and [property@Gtk.EventControllerMotion:contains-pointer] properties which are updated to reflect changes in the pointer position as it moves over the widget.


Namespace: Gtk
Package: gtk4

Content:

Properties:

Creation methods:

Signals:

Inherited Members: