Klasse DragSurface

Alle implementierten Schnittstellen:
PointerInterface

public class DragSurface extends Interface
A surface that is used during DND.

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

  • Felddetails

  • Konstruktordetails

  • Methodendetails

    • getClassHandler

      public static ClassHandler getClassHandler()
    • present

      public boolean present(int width, int height)
      Present @drag_surface.
      Parameter:
      width - the unconstrained drag_surface width to layout
      height - the unconstrained drag_surface height to layout
      Gibt zurück:
      %FALSE if it failed to be presented, otherwise %TRUE.
    • onComputeSize

      public SignalHandler onComputeSize(DragSurface.OnComputeSize signal)
      Connect to signal "compute-size".
      See DragSurface.OnComputeSize.onComputeSize(ch.bailu.gtk.gdk.DragSurfaceSize) for signal description.
      Field SIGNAL_ON_COMPUTE_SIZE contains original signal name and can be used as resource reference.
      Parameter:
      signal - callback function (lambda).
      Gibt zurück:
      SignalHandler. Can be used to disconnect signal and to release callback function.
    • 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()