GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
WATTR(1) FreeBSD General Commands Manual WATTR(1)

wattr
get window attributes

wattr [bmiowhxy] wid

wattr prints information about the window wid to stdout.

What information is presented depends on the commands given to wattr. The queried arguments are printed in the order they are requested, separated by a space. If no commands are given, wattr will return 0 if wid exists, and 1 otherwise.

Print wid
Print wid’s border width.
Print wid’s x offset.
Print wid’s y offset.
Print wid’s width.
Print wid’s height.
wattr returns 0 if the override_redirect attribute is set on the window.
wattr returns 0 if wid is mapped on screen, and 1 otherwise.

wattr acts on the X display specified by the DISPLAY variable.

$ wattr m 0x01000006 && echo ismapped
ismapped

$ wattr whxy 0x01000006
484 244 756 166

$ wattr xyhw 0x01000006
756 166 244 484

$ wattr 0x00000000; echo $?
1
December 13, 2014 wmutils

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.