Class OverlayLayoutChild

All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class OverlayLayoutChild extends LayoutChild
GtkLayoutChild subclass for children in a GtkOverlayLayout.
  • Constructor Details

    • OverlayLayoutChild

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

      public OverlayLayoutChild()
      Create a new OverlayLayoutChild.
  • Method Details

    • getType

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

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

      protected OverlayLayoutChild asParent()
      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 LayoutChild
      Returns:
      the instance as if it were its parent type
    • getClipOverlay

      public boolean getClipOverlay()
      Retrieves whether the child is clipped.
      Returns:
      whether the child is clipped
    • getMeasure

      public boolean getMeasure()
      Retrieves whether the child is measured.
      Returns:
      whether the child is measured
    • setClipOverlay

      public void setClipOverlay(boolean clipOverlay)
      Sets whether to clip this child.
      Parameters:
      clipOverlay - whether to clip this child
    • setMeasure

      public void setMeasure(boolean measure)
      Sets whether to measure this child.
      Parameters:
      measure - whether to measure this child
    • builder

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