Method
GdkWindowbegin_resize_drag_for_device
since: 3.4
Declaration [src]
void
gdk_window_begin_resize_drag_for_device (
GdkWindow* window,
GdkWindowEdge edge,
GdkDevice* device,
gint button,
gint root_x,
gint root_y,
guint32 timestamp
)
Description [src]
Begins a window resize operation (for a toplevel window).
You might use this function to implement a “window resize grip,” for
example; in fact GtkStatusbar uses it. The function works best
with window managers that support the
Extended Window Manager Hints
but has a fallback implementation for other window managers.
Available since: 3.4
Parameters
edge-
Type:
GdkWindowEdgeThe edge or corner from which the drag is started.
device-
Type:
GdkDeviceThe device used for the operation.
The data is owned by the caller of the method. button-
Type:
gintThe button being used to drag, or 0 for a keyboard-initiated drag.
root_x-
Type:
gintRoot window X coordinate of mouse click that began the drag.
root_y-
Type:
gintRoot window Y coordinate of mouse click that began the drag.
timestamp-
Type:
guint32Timestamp of mouse click that began the drag (use gdk_event_get_time()).