Klasse RequestedSize

Alle implementierten Schnittstellen:
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. See [func@distribute_natural_allocation].

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

  • Felddetails

    • DATA

      public static final String DATA
      A client pointer
      Siehe auch:
    • MINIMUM_SIZE

      public static final String MINIMUM_SIZE
      The minimum size needed for allocation in a given orientation
      Siehe auch:
    • NATURAL_SIZE

      public static final String NATURAL_SIZE
      The natural size for allocation in a given orientation
      Siehe auch:
  • Konstruktordetails

    • RequestedSize

      public RequestedSize(PointerContainer pointer)
    • RequestedSize

      public RequestedSize()
  • Methodendetails

    • 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