Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xwininfo(1X) — Ultrix WS 1.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

X(1X)

xwininfo(1X)

NAME

xwininfo - X Window System window information summarizer

SYNTAX

xwininfo [ display ] [ options ]

ARGUMENTS

displaySpecifies the display screen on which to find the target window.  If the display argument is not specified, xwininfo uses the display screen specified by your DISPLAY environment variable.  The display argument has the format hostname:number. 

hostnameSpecifies the name of the host machine on which the display is connected.  You can specify the name local to use shared memory, the name unix to use UNIX IPC, or the name of your host machine to use TCP. 

numberSpecifies the number of the display on that host machine. 

DESCRIPTION

The xwininfo command displays an X window information summary on the selected window.  To select a window, place the mouse pointer in the appropriate window and click any mouse button. 

OPTIONS

−children Specifies that the identification number of the selected window’s immediate children be listed. 

−help Specifies that the xwininfo command syntax summary be displayed. 

−id id Specifies the identification number of the window to be used as the selected window.  This option is useful in debugging X applications where the selected window is not mapped to the screen or where the use of the mouse might either be impossible or interfere with the application.  By default, xwininfo uses the window selected with the mouse. 

−int Specifies that all X window identification numbers should be displayed as integer values.  The default is hexadecimal. 

−root Specifies that the root window is the selected window.  This option is useful when the root window is completely obscured. 

EXAMPLE

The following is sample output when the −children option is specified. 
 

xwininfo ==> Please select the window you wish
         ==> information on by clicking the
         ==> mouse in that window.
 xwininfo ==> Window name: ’ X Root Window ’
         ==> Window id: 0x10031
         ==> Parent window id: 0x0
         ==> Number of children: 13
         ====> Child window id: 0xb00046
         ====> Child window id: 0xb2004f
         ====> Child window id: 0x630051
         ====> Child window id: 0x5f0055
         ====> Child window id: 0x5c0058
         ====> Child window id: 0x55005c
         ====> Child window id: 0x53005e
         ====> Child window id: 0x510060
         ====> Child window id: 0x42000c
         ====> Child window id: 0x43000b
         ====> Child window id: 0x3d0011
         ====> Child window id: 0xa0028
         ====> Child window id: 0x500061
         ==> Associated window id: 0x0
         ==> Window type: IsOpaque
         ==> Window state: IsMapped
         ==> Upper left X: 0
         ==> Upper left Y: 0
         ==> Width: 1088
         ==> Height: 864
         ==> Border width: 0
  ==> Geometry specification:
  ====> Upper left =1024x864+0+0
  ====> Lower right =1024x864−0−0
         ==> Resize base width: 0
         ==> Resize base height: 0
         ==> Resize width increment: 1
         ==> Resize height increment: 1
         ==> Root absolute mouse X Position: 691
         ==> Root absolute mouse Y Position: 261
         ==> Target relative mouse X Position: 691
         ==> Target relative mouse Y Position: 261

SEE ALSO

X(1X)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026