[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Icons for Clim-Windows



> 	
> 	 If I remember right there is a tool that comes with X, that 
> 	 will give you that information, but for the life of me I can
> 	 not remember what that tool is called. It is used for differnt
> 	 type things, but mostly it gives information about where the mouse
> 	 is, what window it is over etc...
> 	
> 	Could you be refering to xev?
> 
>   Try xwininfo. Here's example output:
> 
> =>xwininfo
> ...
> xwininfo: Window id: 0x1800027 "xmh: inbox"
> ...
> 
>   Mike McDonald
> 
>   mac@trantor.harris-atd.com
>   (407) 727-5060
> 
>   Advanced Technology Dept.
>   Harris Corp.
>   M.S. 3A-1912
>   P.O. Box 37
>   Melbourne, Florida
>              32902



I tried xwininfo, xlsclients, xlsatoms

when I use xwininfo I get

xwininfo: Please select the window about which you
          would like information by clicking the
          mouse in that window.

xwininfo: Window id: 0x3800002 "Proroad"

  Absolute upper-left X:  95
  Absolute upper-left Y:  29
  Relative upper-left X:  0
  Relative upper-left Y:  0
  Width: 1000
  Height: 700
  Depth: 8
  Visual Class: PseudoColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x27 (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:  +95+29  -57+29  -57-171  +95-171
  -geometry 1000x700-57+29

But Proroad is not the name of the window, its just the label.
When I have an "xterm -n TEST" and use xwininfo I get TEST and not xterm.


       Rainer

--
Rainer Koenig                                   email: rkoenig@fzi.de
Forschungszentrum Informatik                           king@fzi.de
Abtl. Technische Expertensysteme und Robotik
Haid-und-Neu-Strasse 10-14                      Fax : +49-721-9654-309
D - 7500 Karlsruhe 1                            Tel.: +49-721-9654-313