Package: gdk

Function gdk-window-begin-resize-drag-for-device

Lambda List

gdk-window-begin-resize-drag-for-device (window edge device button root-x root-y timestamp)

Arguments

window -- a toplevel gdk-window object
edge -- the edge or corner of type gdk-window-edge from which the drag is started
device -- the gdk-device object used for the operation
button -- a :int with the button being used to drag
root-x -- a :int with the root window x coordinate of mouse click that began the drag
root-y -- a :int with the root window y coordinate of mouse click that began the drag
timestamp -- a :uint with the timestamp of mouse click that began the drag, use the function gdk-event-time

Details

Begins a window resize operation for a toplevel window. You might use this function to implement a "window resize grip", for example; in fact gtk-statusbar widgets 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.
 

See also

2020-9-22