Dies kann man mit "xwininfo --tree" nachprüfen.
Code: Alles auswählen
$ xwininfo -tree
xwininfo: Please select the window about which you
would like information by clicking the
mouse in that window.
xwininfo: Window id: 0x5e00001 "Mein Fenster"
Root window id: 0x2bf (the root window) (has no name)
Parent window id: 0x2a0042e (has no name)
4 children:
0x5e00027 "Write": () 120x50+400+270 +410+308
0x5e00025 "New": () 120x50+250+270 +260+308
0x5e00023 "Close": () 120x50+100+270 +110+308
0x5e00007 "none": () 660x250+10+10 +20+48
3 children:
0x5e0000d "none": () 640x140+10+100 +30+148
4 children:
0x5e00020 "none": () 620x24+10+97 +40+245
0x5e0001d "none": () 620x24+10+68 +40+216
0x5e0001a "none": () 620x24+10+39 +40+187
0x5e00017 "none": () 620x24+10+10 +40+158
0x5e0000b "none": () 260x80+390+10 +410+58
0x5e00009 "none": () 370x80+10+10 +30+58
4 children:
0x5e00015 "Button3": () 80x25+265+10 +295+68
0x5e00013 "Button2": () 80x25+180+10 +210+68
0x5e00011 "Button1": () 80x25+95+10 +125+68
0x5e0000f "Button0": () 80x25+10+10 +40+68
Code: Alles auswählen
~$ xwininfo -tree
xwininfo: Please select the window about which you
would like information by clicking the
mouse in that window.
xwininfo: Window id: 0x4a00168 "Lazarus-IDE v2.2.2 - Project1"
Root window id: 0x2bf (the root window) (has no name)
Parent window id: 0x2a0033b (has no name)
1 child:
0x4a00169 (has no name): () 1x1+-1+-1 +199+157
Ich dachte immer, das jede einzelne Komponente, bei gtk, qt und co. eine eigenes Fenster enthält.