Window.beginMoveDrag

void beginMoveDrag(int button, int rootX, int rootY, uint timestamp)

Begins a window move operation (for a toplevel window).

This function assumes that the drag is controlled by the client pointer device, use [gdk.window.Window.beginMoveDragForDevice] to begin a drag with a different device.

Parameters

buttonthe button being used to drag, or 0 for a keyboard-initiated drag
rootXroot window X coordinate of mouse click that began the drag
rootYroot window Y coordinate of mouse click that began the drag
timestamptimestamp of mouse click that began the drag