ToplevelT.beginMove

Begins an interactive move operation.

You might use this function to implement draggable titlebars.

template ToplevelT(TStruct)
void
beginMove
(,
int button
,
double x
,
double y
,)

Parameters

device Device

the device used for the operation

button int

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

x double

surface X coordinate of mouse click that began the drag

y double

surface Y coordinate of mouse click that began the drag

timestamp uint

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

Meta