Re: top level windows query
- From: Alexandre Ferrieux <alexandre.ferrieux@xxxxxxxxx>
- Date: Thu, 28 Jun 2007 15:02:30 -0700
On Jun 28, 11:31 pm, Bruce Hartweg <doNOT...@xxxxxxxxxxx> wrote:
Alexandre Ferrieux wrote:
Right. And we may help the OP a tad further by reminding him that the
root of all this hierarchy is named ".".
(eons ago when I discovered Tk, this slight lack of symmetry in widget
paths bothered me for several seconds: "." and ".t" may be equal
toplevels...)
not sure what you mean by equal, but a toplevel can be a child of any widget
not just . so "." ".t" ".t.t2" ".f1.f2.f3.f4.f5.t3" can all be toplevels
By "equal" I mean none is more "toplevel" than the other (they are
siblings for the window manager).
The lack of symmetry is in the naming since one is a prefix of the
other.
And yes, we all know toplevels can be deep in the name path, hence
Bryan's suggestion to recurse with [winfo children] and check toplevel-
ness for each window.
Thanks Bruce, next time we need clarification we won't forget you ;-)
-Alex
.
- References:
- top level windows query
- From: pollastri
- Re: top level windows query
- From: Bryan Oakley
- Re: top level windows query
- From: Alexandre Ferrieux
- Re: top level windows query
- From: Bruce Hartweg
- top level windows query
- Prev by Date: Re: need example for encryption in tcl
- Next by Date: Re: Iconized application takes looooong to wake up
- Previous by thread: Re: top level windows query
- Next by thread: Tcl 2007 reminder: July 1 deadline!!!!
- Index(es):