| Description: |
OriginalBugID: 5717 RFE
Version: 8.3.1
SubmitDate: '2000-05-25'
LastModified: '2000-05-27'
Severity: LOW
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: All
ClosedDate: '2000-05-27'
Name:
George Petasis
DesiredBehavior:
Two things:
1) winfo istoplevel win
Currently there is no easy way to find out if a window is a toplevel or not.
I now use "if {[string equal [winfo toplevel $win] $win]} {-->> toplevel...",
which is kind ackward...
2) winfo toplevels
An easy way to get all toplevels...
It seems simple enough to say:
if {[winfo toplevel $w] == $w} ...
What is the purpose in getting all the toplevels?
-- 05/27/2000 hobbs
|