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 class EventControllerMotion : EventController

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

The event controller offers [[email protected]:GtkEventControllerMotion:enter] and [ [email protected]:GtkEventControllerMotion:leave] signals, as well as [ [email protected]:is-pointer] and [[email protected]: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:

All known members inherited from class GLib.Object



2022 vala-language.org