beginMove

open fun beginMove(device: Device, button: <Error class: unknown class>, x: <Error class: unknown class>, y: <Error class: unknown class>, timestamp: <Error class: unknown class>)

Begins an interactive move operation.

You might use this function to implement draggable titlebars.

Parameters

device

the device used for the operation

button

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

x

surface X coordinate of mouse click that began the drag

y

surface Y coordinate of mouse click that began the drag

timestamp

timestamp of mouse click that began the drag (use method@Gdk.Event.get_time)