Prev | Current Page 181 | Next

Chris Tyler

"X Power Tools"

Clients
may request a particular geometry when placing a new window, but the window
manager can override the request and force another geometry.
The units used for window size vary by application. Terminal windows, for example,
are usually sized in text rows and columns (for example, 80 ?— 24 or 132 ?— 44);
many applications, such as Firefox, are sized in pixels; and others, such as the Gimp,
use arbitrary units of the programmer??™s choosing.
The xwininfo command (Section 6.3) will display information about a window??™s current
geometry:
$ xwininfo
xwininfo: Please select the window about which you
would like information by clicking the
mouse in that window.
...User clicks on a terminal window...
xwininfo: Window id: 0x36059c4 "chris@concord2:~"
Absolute upper-left X: 485
Absolute upper-left Y: 59
Relative upper-left X: 6
Relative upper-left Y: 20
Width: 710
Height: 538
Depth: 24
Visual Class: TrueColor
Border width: 0
Class: InputOutput
Colormap: 0x20 (installed)
Bit Gravity State: NorthWestGravity
Window Gravity State: NorthWestGravity
Backing Store State: NotUseful
Save Under State: no
Map State: IsViewable
Override Redirect State: no
Corners: +485+59 -85+59 -85-427 +485-427
-geometry 77x34-79+39
Note that the geometry specification (or simply, geometry) is 77x34-79+39, but the
width is 710 pixels and the height is 538 pixels!
The geometry specification is in this form:
WIDTHxHEIGHT XPOSITION YPOSITION
where the following definitions are true:
WIDTH
The window width in the increments used by the application.


Pages:
169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193
motoryzacja szkoła narciarska wyrejestrowanie samochodu legnica obciążniki Wczasy nad morzem