Method
GdkToplevelbegin_resize
Declaration [src]
void
gdk_toplevel_begin_resize (
GdkToplevel* toplevel,
GdkSurfaceEdge edge,
GdkDevice* device,
int button,
double x,
double y,
guint32 timestamp
)
Description [src]
Begins an interactive resize operation.
You might use this function to implement a “window resize grip.”.
Parameters
edge-
Type:
GdkSurfaceEdgeThe edge or corner from which the drag is started.
device-
Type:
GdkDeviceThe device used for the operation.
The argument can be NULL.The data is owned by the caller of the method. button-
Type:
intThe button being used to drag, or 0 for a keyboard-initiated drag.
x-
Type:
doubleSurface X coordinate of mouse click that began the drag.
y-
Type:
doubleSurface Y coordinate of mouse click that began the drag.
timestamp-
Type:
guint32Timestamp of mouse click that began the drag (use
gdk_event_get_time()).