| Description: |
OriginalBugID: 629 Bug
Version: 8.0p2
SubmitDate: '1998-05-25'
LastModified: '1999-08-06'
Severity: LOW
Status: Closed
Submitter: hershey
ChangedBy: hobbs
OS: All Windows
OSVersion: NA
Machine: NA
FixedInVersion: NA
ClosedDate: '1999-08-06'
I've been using Tcl/Tk 8.0p2 on Win95 and NT and have a question about
the winfo children command in Tk. The help documentation says it returns
a list of all the children of window and the list is in stacking order
with the lowest window first. What it does return is the same list
independent of stacking order.
Here's a brief example of what I mean.
I make two windows
toplevel .a
toplevel .b
independent of stacking order, when I execute
winfo children .
I get
.a .b
I tried it with frame with similar results. So the question is, am I
misapplying this command, is it a bug or ?
Does anyone know how I can find the path of the topmost window. Your
help is greatly appreciated,
Thanks,
Bob Alkire <[email protected]>
This works as expected, with the difference that it works as you
would have expected for frames, and toplevels ignore "stacking
order" in this sense. You can [raise] a toplevel, but it is
really the children of toplevels, and their children, etc, that
have a "stacking order" in this sense.
-- 08/06/1999 hobbs
|