Class DragSurfaceSize

java.lang.Object
org.javagi.base.ProxyInstance
org.gnome.gdk.DragSurfaceSize
All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class DragSurfaceSize extends ProxyInstance
Contains information that is useful to compute the size of a drag surface.
Since:
4.12
  • Constructor Details

    • DragSurfaceSize

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

    • getType

      public static @Nullable Type getType()
      Get the GType of the DragSurfaceSize class.
      Returns:
      the GType
    • getMemoryLayout

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

      public void setSize(int width, int height)
      Sets the size the drag surface prefers to be resized to.
      Parameters:
      width - the width
      height - the height
      Since:
      4.12