# tko::snap(n) -- widget state handling

*   [SYNOPSIS](#SYNOPSIS)
*   [DESCRIPTION](#DESCRIPTION)  
*   [EXAMPLE](#EXAMPLE)  
*   [SEE ALSO](#SEE-ALSO)  
*   [KEYWORDS](#KEYWORDS)  
*   [COPYRIGHT](#COPYRIGHT)  

<a name="SYNOPSIS"></a>
## SYNOPSIS

**::tko::snap** *window photo ?x? ?y? ?width? ?height? ?imagewidth? ?imageheight?*

<a name="DESCRIPTION"></a>
## DESCRIPTION

> Get content from *window* and put it into given *photo* image. The size of the original window content can be limited with the parameters *x*, *y* ?width? ?height?. To scale the resulting image use the parameters ?imagewidth? ?imageheight?

<a name="SEE-ALSO"></a>
## SEE ALSO

[tko][]

<a name="KEYWORDS"></a>
## KEYWORDS

binding

<a name="COPYRIGHT"></a>
## COPYRIGHT

&copy; 2021- Rene Zaumseil <r.zaumseil@freenet.de>

BSD style license.

[tko]: <https://chiselapp.com/user/rene/repository/tko/home>
