1iwidgets::canvasprintdialog − Create and manipulate a canvas
2print dialog widget iwidgets::canvasprintdialog pathName ?op‐
4log <‐ iwidgets::Canvasprintdialog
10See the "options" manual entry for details on the standard op‐
11tions.
15See the "canvasprintbox" widget manual entry for details on the
16above associated options.
17
20See the "dialogshell" widget manual entry for details on the
21above inherited options.
23See the "shell" widget manual entry for details on the above in‐
24herited options.
26See the "Toplevel" widget manual entry for details on the above
27inherited options.
28
29The iwidgets::canvasprintdialog command creates a print dialog
30for printing the contents of a canvas widget to a printer or a
31file. It is possible to specify page orientation, the number of
32pages to print the image on and if the output should be stretched
33to fit the page.
34
35The iwidgets::canvasprintdialog command creates a new Tcl command
36whose name is pathName. This command may be used to invoke vari‐
37ous operations on the widget. It has the following general form:
39exact behavior of the command. The following commands are possi‐
40ble for canvasprintdialog widgets:
42See the "canvasprintbox" class manual entry for details on the
43associated methods.
46See the "buttonbox" widget manual entry for details on the above
47inherited methods.
49See the "dialogshell" widget manual entry for details on the
50above inherited methods.
51
53tion option given by option. Option may have any of the values
54accepted by the iwidgets::canvasprintdialog command. pathName
56configuration options of the widget. If no option is specified,
57returns a list describing all of the available options for path‐
59list). If option is specified with no value, then the command
60returns a list describing the one named option (this list will be
61identical to the corresponding sublist of the value returned if
62no option is specified). If one or more option−value pairs are
63specified, then the command modifies the given widget option(s)
64to have the given value(s); in this case the command returns an
65empty string. Option may have any of the values accepted by the
67
68Name: cpb
69Class: Canvasprintbox
70The cpb component is the canvas print box for the canvas print
71dialog. See the "canvasprintbox" widget manual entry for details
72on the cpb component item.
73
74 package require Iwidgets 4.0
75 iwidgets::canvasprintdialog .cpb
76 .cpb activate Tako Schotanus Tako.Schotanus@bouw.tno.nl can‐
77vasprintdialog, canvasprintbox, dialog, widget
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132