ToplevelT.beginResize

Begins an interactive resize operation.

You might use this function to implement a “window resize grip.”

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

Parameters

edge GdkSurfaceEdge

the edge or corner from which the drag is started

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