Class Requisition

All Implemented Interfaces:
PointerInterface

public class Requisition extends Record
A `GtkRequisition` represents the desired size of a widget. See
[GtkWidget’s geometry management section](class.Widget.html#height-for-width-geometry-management) for
more information.

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

  • Field Details

  • Constructor Details

    • Requisition

      public Requisition(PointerContainer pointer)
    • Requisition

      public Requisition()
      Allocates a new `GtkRequisition`.

      The struct is initialized to zero.
  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • setFieldWidth

      public void setFieldWidth(int width)
      the widget’s desired width
    • getFieldWidth

      public int getFieldWidth()
      the widget’s desired width
    • setFieldHeight

      public void setFieldHeight(int height)
      the widget’s desired height
    • getFieldHeight

      public int getFieldHeight()
      the widget’s desired height
    • copy

      public Requisition copy()
      Copies a `GtkRequisition`.
      Returns:
      a copy of @requisition
    • free

      public void free()
      Frees a `GtkRequisition`.
    • 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()