Klasse ScrollEvent

Alle implementierten Schnittstellen:
PointerInterface

public class ScrollEvent extends Event
An event related to a scrolling motion.

https://docs.gtk.org/gdk4/class.ScrollEvent.html

  • Konstruktordetails Linksymbol

  • Methodendetails Linksymbol

    • getClassHandler Linksymbol

      public static ClassHandler getClassHandler()
    • getDirection Linksymbol

      public int getDirection()
      Extracts the direction of a scroll event.
      Gibt zurück:
      the scroll direction of @event
    • getUnit Linksymbol

      public int getUnit()
      Extracts the scroll delta unit of a scroll event.

      The unit will always be %GDK_SCROLL_UNIT_WHEEL if the scroll direction is not
      %GDK_SCROLL_SMOOTH.
      Gibt zurück:
      the scroll unit.
    • isStop Linksymbol

      public boolean isStop()
      Check whether a scroll event is a stop scroll event.

      Scroll sequences with smooth scroll information may provide
      a stop scroll event once the interaction with the device finishes,
      e.g. by lifting a finger. This stop scroll event is the signal
      that a widget may trigger kinetic scrolling based on the current
      velocity.

      Stop scroll events always have a delta of 0/0.
      Gibt zurück:
      %TRUE if the event is a scroll stop event
    • getTypeID Linksymbol

      public static long getTypeID()
    • getParentTypeID Linksymbol

      public static long getParentTypeID()
    • getTypeSize Linksymbol

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize Linksymbol

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize Linksymbol

      public static int getInstanceSize()