Window.beginResizeDrag

void beginResizeDrag(gdk.types.WindowEdge edge, int button, int rootX, int rootY, uint timestamp)

Starts resizing a window. This function is used if an application has window resizing controls. When GDK can support it, the resize will be done using the standard mechanism for the [window manager][gtk-X11-arch] or windowing system. Otherwise, GDK will try to emulate window resizing, potentially not all that well, depending on the windowing system.

Parameters

edgeposition of the resize control
buttonmouse button that initiated the drag
rootXX position where the user clicked to initiate the drag, in root window coordinates
rootYY position where the user clicked to initiate the drag
timestamptimestamp from the click event that initiated the drag