Version 0 of Answered Questions On: The Tk GUI

Updated 2004-10-24 01:12:45

--- USING UPDATE TO MAKE SCREEN CHANGES VISIBLE

2004/09/21 pcor

Platform: Mandrake Linux 9.2

Interpretor: tixwish8.1.8.4

I have been trying to use a canvasprintdialog to print a canvas embedded in a Toplevel window but whenever the canvasprintdialog is positioned in front of the canvas I get the dialog in the printout. How can I exclude the dialog without having to position it elsewhere on the screen. I have tried hiding the dialog and using tkwait before issuing the "print" command but so far to no avail. Any help will be much appreciated. Thanks.

Peter Newman 21 September 2004: I haven't tested it, but surely:-

 ...hide the dialog ---or--- `raise canvasToplevel' ...
 update
 ...print the canvas...

would work.

pcor: Thanks Peter. Yes it does. Being a newbie with Tcl I didn't know about update.