Class RequestedSize

All Implemented Interfaces:
PointerInterface

public class RequestedSize extends Record
Represents a request of a screen object in a given orientation. These
are primarily used in container implementations when allocating a natural
size for children calling. See [func@distribute_natural_allocation].

https://docs.gtk.org/gtk4/struct.RequestedSize.html

  • Field Details

  • Constructor Details

    • RequestedSize

      public RequestedSize(PointerContainer pointer)
    • RequestedSize

      public RequestedSize()
  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • setFieldData

      public void setFieldData(Pointer data)
      A client pointer
    • getFieldData

      public Pointer getFieldData()
      A client pointer
    • setFieldMinimumSize

      public void setFieldMinimumSize(int minimum_size)
      The minimum size needed for allocation in a given orientation
    • getFieldMinimumSize

      public int getFieldMinimumSize()
      The minimum size needed for allocation in a given orientation
    • setFieldNaturalSize

      public void setFieldNaturalSize(int natural_size)
      The natural size for allocation in a given orientation
    • getFieldNaturalSize

      public int getFieldNaturalSize()
      The natural size for allocation in a given orientation