http://www.perlmonks.org?node_id=1002311


in reply to Re^3: How to destroy and re-create bound widgets
in thread How to destroy and re-create bound widgets

Also see embedding xterm into a Tk app. If you are determined to use embeded Canvases, you could use this technique, to hide show them. Tk is somwhat limited and you need to cover the createWindow with another properly colored rectangle.

Tk::Zinc can actually hide or show the window. See the second example in Re: Window with background image and transparent listbox . You could put a second Zinc canvas in there, instead of an xterm.


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh
  • Comment on Re^4: How to destroy and re-create bound widgets