You can try several methods, depending on which geometry manager you use.
Suppose I'd want to hide .top41.fra40 and I'm using the place manager.
place forget .top41.fra40
that will hide your frame... well, sort of...
Now, if I'd want it to reappear I'd have to issue the command that makes it
appear, including the arguments... like this:
place .top41.fra40 -x 5 -y 5 -width 240 -height 310 -anchor nw -bordermode
ignore
Same things go for the packer and the grid manager... pack forget.... grid
forget... same drill...
Note though, that you probably can't use the $base variable vtcl uses... at
least I couldn't be bothered to figure it out... it's just one extra
character anyway..
Well... that's what did the trick for me... basically you could hide any
widget this way, I guess... I haven't experimented a lot with it....
Hope it helps...
Gilbert van Griensven
> 1. (no subject) (naveen arjunan)
>
> --__--__--
>
> Message: 1
> From: "naveen arjunan" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Date: Mon, 13 Aug 2001 17:25:07 +0000
> Subject: [vtcl-user] (no subject)
> Reply-To: [EMAIL PROTECTED]
>
> does anybody know how to hide a frame in tcl.for examples by pressing a
> button.
>
_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/vtcl-user