Class FixedLayoutChild

All Implemented Interfaces:
Proxy

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

    • FixedLayoutChild

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

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

    • getType

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

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

      protected FixedLayoutChild 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
    • getTransform

      public @Nullable Transform getTransform()
      Retrieves the transformation of the child.
      Returns:
      a GskTransform
    • setTransform

      public void setTransform(Transform transform)
      Sets the transformation of the child of a GtkFixedLayout.
      Parameters:
      transform - a GskTransform
    • builder

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