logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

canvas::snap - Canvas snapshot to Tk photo image

Api

::canvas::snappathName
              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  command  forces the toplevel window the canvas is in to the top of the
              stacking order.

Bugs, Ideas, Feedback

       This document, and the package it describes, will undoubtedly contain bugs and  other  problems.   Please
       report  such  in the category canvas of the TklibTrackers [http://core.tcl.tk/tklib/reportlist].  Please
       also report any ideas for enhancements you may have for either package and/or documentation.

Description

       This package provides a command to take snapshots of arbitrary canvases.

Keywords

       canvas, image, photo, print screen, snapshot

Name

       canvas::snap - Canvas snapshot to Tk photo image

Synopsis

       package require Tcl8.5

       package require Tk8.5

       package require canvas::snap?1.0.1?

       package require img::window::canvas::snappathName

________________________________________________________________________________________________________________

See Also