ToplevelT.beginResize

Begins an interactive resize operation.

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

template ToplevelT()
override
void
beginResize

Parameters

edge gdk.types.SurfaceEdge

the edge or corner from which the drag is started

device gdk.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 gdk.event.Event.getTime)