Package: gdk

Function gdk-window-begin-move-drag-for-device

Lambda List

gdk-window-begin-move-drag-for-device (window device button root-x root-y timestamp)

Arguments

window -- a toplevel gdk-window object
device -- the gdk-device object used for the operation
button -- a :int with the button being used to drag
root-x -- a :int with the root window x coordinate of mouse click that began the drag
root-y -- a :int with the root window y coordinate of mouse click that began the drag
timestamp -- a :uint with the timestamp of mouse click that began the drag

Details

Begins a window move operation for a toplevel window. You might use this function to implement a "window move grip", for example. The function works best with window managers that support the Extended Window Manager Hints, but has a fallback implementation for other window managers.
 

See also

2020-9-22