manpagez: man pages & more
man canvas_snap(n)
Home | html | info | man
canvas::snap(n)             Variations on a canvas             canvas::snap(n)



______________________________________________________________________________


NAME

       canvas::snap - Canvas snapshot to Tk photo image


SYNOPSIS

       package require Tcl  8.5

       package require Tk  8.5

       package require canvas::snap  ?1.0.1?

       package require img::window

       ::canvas::snap pathName

_________________________________________________________________


DESCRIPTION

       This  package  provides  a  command to take snapshots of arbitrary can-
       vases.


API

       ::canvas::snap pathName
              Takes a snapshot of the canvas pathName. The result is the  name
              of a new Tk photo image containing the snapshot.

              Note  that this command has a side-effect. To avoid having white
              rectangles where other windows may overlap the canvas this  com-
              mand  forces  the toplevel window the canvas is in to the top of
              the stacking order.



KEYWORDS

       canvas, image, photo, print screen, snapshot


COPYRIGHT

       Copyright (c) 2004 George Petasis (http://wiki.tcl.tk/1404)
       Copyright (c) 2010 Documentation, Andreas Kupries




canvas                               1.0.1                     canvas::snap(n)

Mac OS X 10.8 - Generated Wed Sep 5 15:50:24 CDT 2012
© manpagez.com 2000-2025
Individual documents may contain additional copyright information.