Gdk.DragSurfaceSize

Fields

None

Methods

set_size (width, height)

Details

class Gdk.DragSurfaceSize

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

New in version 4.12.

set_size(width, height)[source]
Parameters:
  • width (int) – the width

  • height (int) – the height

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

New in version 4.12.