At 09:53 PM 13/02/1997 -0500, you wrote:
>On Thu, 13 Feb 1997, Alex Mello Occulate wrote:
>
>> Hi,
>>
>> I had understend that when I iconify the VTcl main window
>> all other windows iconify too, But this is not the true.
>> The "Attribute Editor" window not iconify. Why this is
>> a bug inside the new release, or is a bug at my station ? @:-/
>
> The attribute editor is not transient so that you _can_ resize
> it... I haven't figured out a way to have it transient and resizable.
> Thus, it should not hide with the rest of the app (an inconvenience
> that I hope to overcome).
[...]
> -stewart-
>
>
>
Stewart.
you can to somthing of the following.
bind a procedure "min" to the "unmap" event of the main
app. window.
proc min {} {
global minimized
set minimized {}
#here you can minimize or withdraw
#all the toplevels that
#not transient and add their names
#to the list "minimized"
}
bind a procedure "max" to the re-map event pf all the toplevels
proc max {} {
global minimized
#for each item in "minimized"
#make it visible again.
}
I think that's all...
This way you don't have to have transient top-levels if you don't want to
but can still minimize the app. with one click.
Nir.
--