EventControllerMotion


Object Hierarchy:

Object hierarchy for EventControllerMotion

Description:

[ CCode ( type_id = "gtk_event_controller_motion_get_type ()" ) ]
public 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: