1img-window(n)                         Img                        img-window(n)
2
3
4
5______________________________________________________________________________
6

NAME

8       img-window - Img, Tk Windows (window)
9

SYNOPSIS

11       package require Tk
12
13       package require img::window  ?1.3?
14
15       image create photo ?name? ?options?
16
17______________________________________________________________________________
18

DESCRIPTION

20       The  package img::window is a sub-package of Img. It can be loaded as a
21       part of the complete Img support, via package require Img,  or  on  its
22       own, via package require img::window.
23
24       Like  all packages of Img it does not provide new commands, but extends
25       the existing Tk command image.  More specifically  img::window  extends
26       Tk's photo image type.
27
28       The name of the new format handler is window.
29
30       This  handler  does not provide additional configuration options.  This
31       handler is special. Instead of reading or writing  image  data  from  a
32       file  or  string  it allows the embedding of a Tk widget into the photo
33       image. In other words, it takes a snapshot of the contents of a Tk win‐
34       dow.
35
36       All of the above means that in a call like
37
38       image create photo ?name? ?options?
39
40       [1]    Image data in window format (option -data) is detected automati‐
41              cally. Image data is considered to be in the  window  format  if
42              the  value  given  to option -data is the name of an existing Tk
43              window.
44
45              Note that the standard option -file is  not  supported  by  this
46              handler.
47
48       [2]    The format name window is recognized by the option -format.
49

SEE ALSO

51       img-bmp, img-dted, img-gif, img-ico, img-intro, img-jpeg, img-pcx, img-
52       pixmap, img-png, img-ppm, img-ps, img-raw, img-sgi,  img-sun,  img-tga,
53       img-tiff, img-window, img-xbm, img-xpm
54

KEYWORDS

56       image handling, tk, window
57
59       Copyright (c) 1995-2003 Jan Nijtmans <nijtmans@users.sourceforge.net>
60
61
62
63
64img-window                            1.3                        img-window(n)
Impressum