Package: gdk

Function gdk:toplevel-begin-move

Lambda List

gdk:toplevel-begin-move (toplevel device button x y timestamp)

Arguments

toplevel -- a gdk:toplevel object
device -- a gdk:device object used for the operation
button -- an integer with the button being used to drag, or 0 for a keyboard-initiated drag
x -- a double float with the surface x coordinate of mouse click that began the drag
y -- a double float with the surface y coordinate of mouse click that began the drag
timestamp -- an unsigned integer with the timestamp of mouse click that began the drag

Details

Begins an interactive move operation, for a toplevel surface. You might use this function to implement draggable titlebars.
 

See also

#2023-8-1