| Description: |
OriginalBugID: 4241 Bug
Version: 8.3
SubmitDate: '2000-02-25'
LastModified: '2000-02-25'
Severity: SER
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: Windows NT
ClosedDate: '2000-02-25'
Name:
Roger Lucas
ReproducibleScript:
Open a WISH console and type the following :
% toplevel .one
.one
% toplevel .two
.two
% raise .one .two
% winfo children .
.one .two
% raise .two .one
% winfo children .
.one .two
ObservedBehavior:
According to the help manual, "winfo children ." will return a list of the toplevel windows in their stacking order. It does not. It returns them in their creation order.
This is confirmed behaviour on both Windows NT and Windows 98
DesiredBehavior:
Please make the "winfo children ." command match the documentation, and return the toplevel windows in their stacking order.
The docs here are unclear, but the extra note about toplevels is
meant to say that they are handled (and returned) differently than
other Tk widget children. This works correctly for child widgets,
but toplevels are returned in creation order because their order
is really maintained by the window manager.
-- 02/25/2000 hobbs
|