discuss-gnustep
[Top][All Lists]
Advanced

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

Is menu the root window of GNUstep application


From: Marko Riedel
Subject: Is menu the root window of GNUstep application
Date: Thu, 23 Oct 2003 11:57:48 +0200

Yen-Ju Chen writes:
 > Hi,
 > 
 >   Just a quick question:
 >   GNUstep application usually has at least two X windows, menu and main 
 > window.
 >   Are they independent from each other from Xwindow's point of view ?
 >   Or they are parent and child window ?
 >   If they are parent and child windows, which on is the root window ? menu ?

Hello there,

the command "xwininfo -tree" will tell you everything you want to
know. I used it to debug my screen grab recipe, which traverses the
entire window tree.

The output looks like this:


xwininfo -tree

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

xwininfo: Window id: 0x1800191 "reply to discuss-gnustep@gnu.org - XEmacs 21.4 
(patch 12) "Portable Code" [/usr/X11R6/bin/xemacs]"

  Root window id: 0x37 (the root window) (has no name)
  Parent window id: 0xa00fd4 (has no name)
     1 child:
     0x1800192 (has no name): ()  640x605+0+0  +87+45
        3 children:
        0x1800199 (has no name): ()  15x505+621+66  +708+111
        0x1800194 (has no name): ()  640x580+0+25  +87+70
        0x1800193 (has no name): ()  638x23+0+0  +87+45

Best regards,

-- 
+------------------------------------------------------------+
| Marko Riedel, EDV Neue Arbeit gGmbH, mriedel@neuearbeit.de |
| http://www.geocities.com/markoriedelde/index.html          |
+------------------------------------------------------------+




reply via email to

[Prev in Thread] Current Thread [Next in Thread]