1canvas::zoom(n)             Variations on a canvas             canvas::zoom(n)
2
3
4
5______________________________________________________________________________
6

NAME

8       canvas::zoom - Zoom control for canvas::sqmap
9

SYNOPSIS

11       package require Tcl  8.4
12
13       package require Tk  8.4
14
15       package require canvas::zoom  ?0.1?
16
17       ::canvas::zoom pathName ?options?
18
19______________________________________________________________________________
20

DESCRIPTION

22       This  package  provides a widget to enable the user of a map display to
23       control the zoom level.
24

API

26       ::canvas::zoom pathName ?options?
27              Creates the zoom control widget pathName and configures it.  The
28              methods and options supported by the new widget are described in
29              the following sections.
30
31              The result of the command is pathName.
32
33   OPTIONS
34       -orient
35              The value for this option is  either  vertical,  or  horizontal,
36              specifying  the orientation of the major axis of the widget. The
37              default is vertical.
38
39       -levels
40              The value for this option is a non-negative integer.  It  speciā€
41              fies the number of zoom levels to support.
42
43       -variable
44              The  value for this option is the name of a global or namespaced
45              variable which is connected with the widget. changes to the zoom
46              level  made  the  widget are propagated to this variable, and in
47              turn changes to the variable are imported into the widget.
48
49       -command
50              This option specifies a command prefix. This  callback  will  be
51              invoked  whenever  the  zoom level is changed. It is called with
52              two additional arguments, the zoom control widget, and  the  new
53              zoom level, in this order.
54
55   METHODS
56       The  widget  supports  no methods beyond the standard (configure, cget,
57       etc.).
58

KEYWORDS

60       zoom
61
62
63
64canvas                                0.1                      canvas::zoom(n)
Impressum