DragSurface#

class DragSurface(*args, **kwargs)#

A GdkDragSurface is an interface for surfaces used during DND.

Methods#

class DragSurface
present(width: int, height: int) bool#

Present drag_surface.

Parameters:
  • width – the unconstrained drag_surface width to layout

  • height – the unconstrained drag_surface height to layout

Signals#

class DragSurface.signals
compute_size(size: DragSurfaceSize) None#

The type of the None singleton.

Added in version 4.12.

Parameters:

size – the size of the drag surface