Class LayoutManager.LayoutManagerClass

All Implemented Interfaces:
Proxy
Direct Known Subclasses:
BinLayout.BinLayoutClass, BoxLayout.BoxLayoutClass, CenterLayout.CenterLayoutClass, ClampLayout.ClampLayoutClass, ConstraintLayout.ConstraintLayoutClass, FixedLayout.FixedLayoutClass, GridLayout.GridLayoutClass, OverlayLayout.OverlayLayoutClass, WrapLayout.WrapLayoutClass
Enclosing class:
LayoutManager

public static class LayoutManager.LayoutManagerClass extends GObject.ObjectClass
The GtkLayoutManagerClass structure contains only private data, and should only be accessed through the provided API, or when subclassing GtkLayoutManager.
  • Constructor Details

    • LayoutManagerClass

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

    • getMemoryLayout

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

      public void overrideGetRequestMode(Arena arena, @Nullable Method method)
      Override virtual method get_request_mode.
      Parameters:
      method - the method to invoke
    • overrideMeasure

      public void overrideMeasure(Arena arena, @Nullable Method method)
      Override virtual method measure.
      Parameters:
      method - the method to invoke
    • overrideAllocate

      public void overrideAllocate(Arena arena, @Nullable Method method)
      Override virtual method allocate.
      Parameters:
      method - the method to invoke
    • readLayoutChildType

      public Type readLayoutChildType()
      Read the value of the field layout_child_type.
      Returns:
      The value of the field layout_child_type
    • writeLayoutChildType

      public void writeLayoutChildType(Type layoutChildType)
      Write a value in the field layout_child_type.
      Parameters:
      layoutChildType - The new value for the field layout_child_type
    • overrideCreateLayoutChild

      public void overrideCreateLayoutChild(Arena arena, @Nullable Method method)
      Override virtual method create_layout_child.
      Parameters:
      method - the method to invoke
    • overrideRoot

      public void overrideRoot(Arena arena, @Nullable Method method)
      Override virtual method root.
      Parameters:
      method - the method to invoke
    • overrideUnroot

      public void overrideUnroot(Arena arena, @Nullable Method method)
      Override virtual method unroot.
      Parameters:
      method - the method to invoke
    • read_padding

      public @Nullable MemorySegment @Nullable [] read_padding()
      Read the value of the field _padding.
      Returns:
      The value of the field _padding
    • write_padding

      public void write_padding(@Nullable MemorySegment @Nullable [] _padding, Arena _arena)
      Write a value in the field _padding.
      Parameters:
      _padding - The new value for the field _padding