Class SqueezerPage

All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") @Deprecated public final class SqueezerPage extends GObject
Deprecated.
An auxiliary class used by Squeezer.
  • Constructor Details

    • SqueezerPage

      public SqueezerPage(MemorySegment address)
      Deprecated.
      Create a SqueezerPage instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
    • SqueezerPage

      public SqueezerPage()
      Deprecated.
      Create a new SqueezerPage.
  • Method Details

    • getType

      public static @Nullable Type getType()
      Deprecated.
      Get the GType of the SqueezerPage class.
      Returns:
      the GType
    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      Deprecated.
      The memory layout of the native struct.
      Returns:
      the memory layout
    • asParent

      protected SqueezerPage asParent()
      Deprecated.
      Return this instance as if it were its parent type. Comparable to the Java super keyword, but ensures the parent typeclass is also used in native code.
      Overrides:
      asParent in class GObject
      Returns:
      the instance as if it were its parent type
    • getChild

      @Deprecated public Widget getChild()
      Deprecated.
      Returns the squeezer child to which this SqueezerPage belongs.
      Returns:
      the child to which this SqueezerPage belongs
    • getEnabled

      @Deprecated public boolean getEnabled()
      Deprecated.
      Gets whether this SqueezerPage is enabled.
      Returns:
      whether this SqueezerPage is enabled
    • setEnabled

      @Deprecated public void setEnabled(boolean enabled)
      Deprecated.

      Sets whether this SqueezerPage is enabled.

      If a child is disabled, it will be ignored when looking for the child fitting the available size best.

      This allows to programmatically and prematurely hide a child even if it fits in the available space.

      This can be used e.g. to ensure a certain child is hidden below a certain window width, or any other constraint you find suitable.

      Parameters:
      enabled - whether this SqueezerPage is enabled
    • builder

      public static SqueezerPage.Builder<? extends SqueezerPage.Builder> builder()
      Deprecated.
      A SqueezerPage.Builder object constructs a SqueezerPage with the specified properties. Use the various set...() methods to set properties, and finish construction with SqueezerPage.Builder.build().
      Returns:
      the builder object