Class Border

All Implemented Interfaces:
PointerInterface

public class Border extends Record
A struct that specifies a border around a rectangular area.

Each side can have different width.

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

  • Field Details

  • Constructor Details

    • Border

      public Border(PointerContainer pointer)
    • Border

      public Border()
      Allocates a new `GtkBorder` struct and initializes its elements to zero.
  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • setFieldLeft

      public void setFieldLeft(int left)
      The width of the left border
    • getFieldLeft

      public int getFieldLeft()
      The width of the left border
    • setFieldRight

      public void setFieldRight(int right)
      The width of the right border
    • getFieldRight

      public int getFieldRight()
      The width of the right border
    • setFieldTop

      public void setFieldTop(int top)
      The width of the top border
    • getFieldTop

      public int getFieldTop()
      The width of the top border
    • setFieldBottom

      public void setFieldBottom(int bottom)
      The width of the bottom border
    • getFieldBottom

      public int getFieldBottom()
      The width of the bottom border
    • copy

      public Border copy()
      Copies a `GtkBorder`.
      Returns:
      a copy of @border_.
    • free

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