Learn R Programming

RGtk2 (version 2.20.31)

gdkWindowBeginMoveDrag: gdkWindowBeginMoveDrag

Description

Begins a window move operation (for a toplevel window). You might use this function to implement a "window move grip," for example. The function works best with window managers that support the Extended Window Manager Hints (http://www.freedesktop.org/Standards/wm-spec), but has a fallback implementation for other window managers.

Usage

gdkWindowBeginMoveDrag(object, button, root.x, root.y, timestamp)

Arguments

object
a toplevel GdkWindow
button
the button being used to drag
root.x
root window X coordinate of mouse click that began the drag
root.y
root window Y coordinate of mouse click that began the drag
timestamp
timestamp of mouse click that began the drag