Class LayoutChild

All Implemented Interfaces:
PointerInterface
Direct Known Subclasses:
ConstraintLayoutChild, FixedLayoutChild, GridLayoutChild, OverlayLayoutChild

public class LayoutChild extends Object
`GtkLayoutChild` is the base class for objects that are meant to hold
layout properties.

If a `GtkLayoutManager` has per-child properties, like their packing type,
or the horizontal and vertical span, or the icon name, then the layout
manager should use a `GtkLayoutChild` implementation to store those properties.

A `GtkLayoutChild` instance is only ever valid while a widget is part
of a layout.

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

  • Constructor Details

  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getChildWidget

      public Widget getChildWidget()
      Retrieves the `GtkWidget` associated to the given @layout_child.
      Returns:
      a `GtkWidget`
    • getLayoutManager

      public LayoutManager getLayoutManager()
      Retrieves the `GtkLayoutManager` instance that created the
      given @layout_child.
      Returns:
      a `GtkLayoutManager`
    • 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()