|
|
1.1 root 1:
2:
3:
4: XWININFO(1) UNIX Programmer's Manual XWININFO(1)
5:
6:
7:
8: NAME
9: xwininfo - X Window System, window information summarizer.
10:
11: SYNOPSIS
12: xwininfo [ -children ] [ -help ] [ -id _i_d ] [ -int ] [ -root
13: ] [ _h_o_s_t:_d_i_s_p_l_a_y ]
14:
15: DESCRIPTION
16: _X_w_i_n_i_n_f_o is a utility for displaying X window informa-
17: tion summaries. All pertinent window information is
18: displayed in an easily readable format. The user has
19: the option of selecting the target window with the mouse (by
20: clicking any mouse button in the desired window) or by
21: specifying its' window id on the command line with the -id
22: argument. There is also a special -root argument to quickly
23: obtain information on X's root window. The following is a
24: sample summary taken with the -children argument specified.
25:
26: xwininfo ==> Please select the window you wish
27: ==> information on by clicking the
28: ==> mouse in that window.
29:
30: xwininfo ==> Window name: ' X Root Window '
31: ==> Window id: 0x10031
32: ==> Parent window id: 0x0
33: ==> Number of children: 13
34: ====> Child window id: 0xb00046
35: ====> Child window id: 0xb2004f
36: ====> Child window id: 0x630051
37: ====> Child window id: 0x5f0055
38: ====> Child window id: 0x5c0058
39: ====> Child window id: 0x55005c
40: ====> Child window id: 0x53005e
41: ====> Child window id: 0x510060
42: ====> Child window id: 0x42000c
43: ====> Child window id: 0x43000b
44: ====> Child window id: 0x3d0011
45: ====> Child window id: 0xa0028
46: ====> Child window id: 0x500061
47: ==> Associated window id: 0x0
48: ==> Window type: IsOpaque
49: ==> Window state: IsMapped
50: ==> Upper left X: 0
51: ==> Upper left Y: 0
52: ==> Width: 1088
53: ==> Height: 864
54: ==> Border width: 0
55: ==> Resize base width: 0
56: ==> Resize base height: 0
57: ==> Resize width increment: 1
58: ==> Resize height increment: 1
59: ==> Root absolute mouse X Position: 691
60:
61:
62:
63: Printed 9/15/87 27 July 1985 1
64:
65:
66:
67:
68:
69:
70: XWININFO(1) UNIX Programmer's Manual XWININFO(1)
71:
72:
73:
74: ==> Root absolute mouse Y Position: 261
75: ==> Target relative mouse X Position: 691
76: ==> Target relative mouse Y Position: 261
77:
78:
79: ARGUMENT SUMMARY
80: -children
81: This argument specifies that _x_w_i_n_i_n_f_o should list
82: the window ids' of target window's children.
83: Only the first level of the window hierarchy
84: is shown (i.e., immediate children of the target
85: window).
86:
87: -help Print out the 'Usage:' command syntax summary.
88:
89: -id _i_d This argument allows the user to specify a target
90: window _i_d on the command line rather than using
91: the mouse to select the target window. This is very
92: useful in debugging X applications where the
93: target window is not mapped to the screen or where
94: the use of the mouse might be impossible or inter-
95: fere with the application.
96:
97: -int This argument specifies that all X window ids should
98: be displayed as integer values. The default is to
99: display them as hexadecimal values.
100:
101: -root This argument specifies that X's root window is
102: the target window. This is useful in situations
103: where the root window is completely obscured.
104:
105: _h_o_s_t:_d_i_s_p_l_a_y
106: This argument allow you to specify the host and
107: display number on which to find the target window.
108: For example `xwininfo orpheus:1' would specify that
109: the target window is on display `1' on the machine
110: `orpheus'. By default, _x_w_i_n_i_n_f_o uses the host
111: and display number stored in the environment vari-
112: able DISPLAY, and therefore this argument is not
113: normally specified.
114:
115: ENVIRONMENT
116: DISPLAY To get default host and display number.
117:
118: SEE ALSO
119: X(1)
120:
121: FUTURE PLANS
122: If time ever presents itself...
123:
124: 1. Provide a `-geometry' argument that prints out the
125: window's dimensions in X window geometry format
126:
127:
128:
129: Printed 9/15/87 27 July 1985 2
130:
131:
132:
133:
134:
135:
136: XWININFO(1) UNIX Programmer's Manual XWININFO(1)
137:
138:
139:
140: (i.e., =WxH+X+Y)
141:
142: 2. Provide a `-depth' argument that allows recursive
143: traversal of the window hierarchy to some arbi-
144: trary depth.
145:
146: AUTHOR
147: Copyright 1985, Massachusetts Institute of Technology.
148:
149: Tony Della Fera, Digital Equipment Corp., MIT Project Athena
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
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:
194:
195: Printed 9/15/87 27 July 1985 3
196:
197:
198:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.