Class DragSurface

All Implemented Interfaces:
PointerInterface

public class DragSurface extends Interface
A `GdkDragSurface` is an interface for surfaces used during DND.

https://docs.gtk.org/gdk4/iface.DragSurface.html

  • Constructor Details

  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • present

      public boolean present(int width, int height)
      Present @drag_surface.
      Parameters:
      width - the unconstrained drag_surface width to layout
      height - the unconstrained drag_surface height to layout
      Returns:
      %FALSE if it failed to be presented, otherwise %TRUE.
    • 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()