Klasse ScrollInfo

Alle implementierten Schnittstellen:
PointerInterface

public class ScrollInfo extends Record
Provides detailed information on how a scroll operation should be performed.

Scrolling functions usually allow passing a `NULL` scroll info which will
cause the default values to be used and just scroll the element into view.

https://docs.gtk.org/gtk4/struct.ScrollInfo.html

  • Konstruktordetails

    • ScrollInfo

      public ScrollInfo(PointerContainer pointer)
    • ScrollInfo

      public ScrollInfo()
      Creates a new scroll info for scrolling an element into view.
  • Methodendetails

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getEnableHorizontal

      public boolean getEnableHorizontal()
      Checks if horizontal scrolling is enabled.
      Gibt zurück:
      %TRUE if horizontal scrolling is enabled.
    • getEnableVertical

      public boolean getEnableVertical()
      Checks if vertical scrolling is enabled.
      Gibt zurück:
      %TRUE if vertical scrolling is enabled.
    • ref

      public ScrollInfo ref()
      Increases the reference count of a `GtkScrollInfo` by one.
      Gibt zurück:
      the passed in `GtkScrollInfo`.
    • setEnableHorizontal

      public void setEnableHorizontal(boolean horizontal)
      Turns horizontal scrolling on or off.
      Parameter:
      horizontal - if scrolling in the horizontal direction should happen
    • setEnableVertical

      public void setEnableVertical(boolean vertical)
      Turns vertical scrolling on or off.
      Parameter:
      vertical - if scrolling in the vertical direction should happen
    • unref

      public void unref()
      Decreases the reference count of a `GtkScrollInfo` by one.

      If the resulting reference count is zero, frees the self.
    • getTypeID

      public static long getTypeID()
    • getParentTypeID

      public static long getParentTypeID()
    • getTypeSize

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()