Klasse EventControllerMotion

Alle implementierten Schnittstellen:
PointerInterface

public class EventControllerMotion extends EventController
Tracks the pointer position.

The event controller offers [signal@Gtk.EventControllerMotion::enter]
and [signal@Gtk.EventControllerMotion::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.

https://docs.gtk.org/gtk4/class.EventControllerMotion.html

  • Felddetails

  • Konstruktordetails

    • EventControllerMotion

      public EventControllerMotion(PointerContainer pointer)
    • EventControllerMotion

      public EventControllerMotion()
      Creates a new event controller that will handle motion events.
  • Methodendetails