DragSurfaceSize#

Added in version 4.12.

class DragSurfaceSize(*args, **kwargs)#

The GdkDragSurfaceSize struct contains information that is useful to compute the size of a drag surface.

Methods#

class DragSurfaceSize
set_size(width: int, height: int) None#

Sets the size the drag surface prefers to be resized to.

Added in version 4.12.

Parameters:
  • width – the width

  • height – the height