positionWindow: Position a window

Description Usage Arguments Details Author(s) References

Description

Change the location and size of a window.

Usage

1
2
3
positionWindow(windowID, x, y, w, h, gravity = 0)
locateWindow(windowID, x, y, gravity = 0)
sizeWindow(windowID, w, h, gravity = 0)

Arguments

windowID

A unique window identifier (see getWindowID).

x

The position of the left side of the window.

y

The position of the top edge of the window.

w

The width of the window.

h

The height of the window.

gravity

The gravity of the window (which affects what happens to the content of the window on resize).

Details

Location and size are all in pixels. locateWindow() retains the current window size and sizeWindow() retains the current window left-top.

Author(s)

Paul Murrell

References

http://tripie.sweb.cz/utils/wmctrl/


pmur002/wmctrl documentation built on May 25, 2019, 10:21 a.m.