Window.beginMoveDrag

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_begin_move_drag_for_device() to begin a drag with a different device.

class Window
void
beginMoveDrag
(
int button
,
int rootX
,
int rootY
,)

Parameters

button int

the button being used to drag, or 0 for a keyboard-initiated drag

rootX int

root window X coordinate of mouse click that began the drag

rootY int

root window Y coordinate of mouse click that began the drag

timestamp uint

timestamp of mouse click that began the drag

Meta