Class StackPage

All Implemented Interfaces:
PointerInterface

public class StackPage extends Object
`GtkStackPage` is an auxiliary class used by `GtkStack`.

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

  • Constructor Details

  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getChild

      public Widget getChild()
      Returns the stack child to which @self belongs.
      Returns:
      the child to which @self belongs
    • getIconName

      public Str getIconName()
      Returns the icon name of the page.
      Returns:
      The value of the [property@Gtk.StackPage:icon-name] property
    • getName

      public Str getName()
      Returns the name of the page.
      Returns:
      The value of the [property@Gtk.StackPage:name] property
    • getNeedsAttention

      public boolean getNeedsAttention()
      Returns whether the page is marked as “needs attention”.
      Returns:
      The value of the [property@Gtk.StackPage:needs-attention] property.
    • getTitle

      public Str getTitle()
      Gets the page title.
      Returns:
      The value of the [property@Gtk.StackPage:title] property
    • getUseUnderline

      public boolean getUseUnderline()
      Gets whether underlines in the page title indicate mnemonics.
      Returns:
      The value of the [property@Gtk.StackPage:use-underline] property
    • getVisible

      public boolean getVisible()
      Returns whether @page is visible in its `GtkStack`.

      This is independent from the [property@Gtk.Widget:visible]
      property of its widget.
      Returns:
      %TRUE if @page is visible
    • setIconName

      public void setIconName(@Nonnull Str setting)
      Sets the icon name of the page.
      Parameters:
      setting - the new value to set
    • setIconName

      public void setIconName(String setting)
      Sets the icon name of the page.
      Parameters:
      setting - the new value to set
    • setName

      public void setName(@Nonnull Str setting)
      Sets the name of the page.
      Parameters:
      setting - the new value to set
    • setName

      public void setName(String setting)
      Sets the name of the page.
      Parameters:
      setting - the new value to set
    • setNeedsAttention

      public void setNeedsAttention(boolean setting)
      Sets whether the page is marked as “needs attention”.
      Parameters:
      setting - the new value to set
    • setTitle

      public void setTitle(@Nonnull Str setting)
      Sets the page title.
      Parameters:
      setting - the new value to set
    • setTitle

      public void setTitle(String setting)
      Sets the page title.
      Parameters:
      setting - the new value to set
    • setUseUnderline

      public void setUseUnderline(boolean setting)
      Sets whether underlines in the page title indicate mnemonics.
      Parameters:
      setting - the new value to set
    • setVisible

      public void setVisible(boolean visible)
      Sets whether @page is visible in its `GtkStack`.
      Parameters:
      visible - The new property value
    • asAccessible

      public Accessible asAccessible()
      Implements interface Accessible. Call this to get access to interface functions.
      Returns:
      Accessible
    • 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()