From: yongling on 17 Nov 2009 00:34 I had reviewed we already have some method to snapshot the canvas to image, but how to revert an not displayed canvas(or not toplevel canvas) to a image? what i want to do is: make the display list(which contains oval,rec,polygon,text) drawed in canvas, then revert to in a image, and use this image in other widget like button label, etc. sometimes i can't rise the canvas window. i just want the image itself. thanks alot.
|
Pages: 1 Prev: Building Tcl CVS head on windows: BOOM 1... Next: Whats wrong with that code(II)? |