OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [itcl/] [iwidgets3.0.0/] [demos/] [html/] [canvasprintdialog.n.html] - Blame information for rev 1770

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
<HTML>
2
<HEAD>
3
<TITLE>iwidgets2.2.0 User Commands - canvasprintdialog</TITLE>
4
</HEAD>
5
<BODY BGCOLOR="#FFFFFF">
6
<H1>iwidgets2.2.0 User Commands - canvasprintdialog</H1>
7
<HR>
8
<PRE>
9
 
10
</PRE>
11
<H2><HR ALIGN=LEFT WIDTH=70% SIZE=3></H2><PRE>
12
 
13
 
14
</PRE>
15
<H2>NAME</H2><PRE>
16
     canvasprintdialog - Create and  manipulate  a  canvas  print
17
     dialog widget
18
 
19
 
20
</PRE>
21
<H2>SYNOPSIS</H2><PRE>
22
     <STRONG>canvasprintdialog</STRONG> <EM>pathName</EM> ?<EM>options</EM>?
23
 
24
 
25
</PRE>
26
<H2>INHERITANCE</H2><PRE>
27
     itk::Toplevel &lt;- Dialogshell &lt;- Dialog &lt;- Canvasprintdialog
28
 
29
 
30
</PRE>
31
<H2>STANDARD OPTIONS</H2><PRE>
32
     <STRONG>activeBackground</STRONG>               <STRONG>background</STRONG>      <STRONG>borderWidthcursor</STRONG>
33
     <STRONG>foreground</STRONG>      <STRONG>highlightBackground</STRONG>            <STRONG>highlightColorhighlightThickness</STRONG>
34
     <STRONG>insertBackground</STRONG>               <STRONG>insertBorderWidthinsertOffTimeinsertOnTime</STRONG>
35
     <STRONG>insertWidth</STRONG>     <STRONG>relief</STRONG>         <STRONG>repeatDelay</STRONG>     <STRONG>repeatInterval</STRONG>
36
     <STRONG>selectBackground</STRONG>               <STRONG>selectBorderWidthselectForeground</STRONG>
37
 
38
     See the "options" manual entry for details on  the  standard
39
     options.
40
 
41
 
42
</PRE>
43
<H2>ASSOCIATED OPTIONS</H2><PRE>
44
     <STRONG>filename</STRONG>        <STRONG>hpagecnt</STRONG>       <STRONG>orient</STRONG>          <STRONG>output</STRONG>
45
     <STRONG>pagesize</STRONG>        <STRONG>posterize</STRONG>      <STRONG>printcmd</STRONG>        <STRONG>printregion</STRONG>
46
     <STRONG>vpagecnt</STRONG>
47
 
48
     See the "canvasprintbox" widget manual entry for details  on
49
     the above associated options.
50
 
51
 
52
 
53
</PRE>
54
<H2>INHERITED OPTIONS</H2><PRE>
55
     <STRONG>buttonBoxPadX</STRONG>   <STRONG>buttonBoxPadY</STRONG>  <STRONG>buttonBoxPos</STRONG>    <STRONG>padX</STRONG>
56
     <STRONG>padY</STRONG>            <STRONG>separator</STRONG>      <STRONG>thickness</STRONG>
57
 
58
     See the "dialogshell" widget manual entry for details on the
59
     above inherited options.
60
 
61
     <STRONG>master</STRONG>          <STRONG>modality</STRONG>       <STRONG>title</STRONG>
62
 
63
     See the "shell" widget manual entry for details on the above
64
     inherited options.
65
 
66
 
67
</PRE>
68
<H2>WIDGET-SPECIFIC OPTIONS</H2><PRE>
69
 
70
</PRE>
71
<H2><HR ALIGN=LEFT WIDTH=70% SIZE=3></H2><PRE>
72
 
73
 
74
 
75
</PRE>
76
<H2>DESCRIPTION</H2><PRE>
77
     The <STRONG>canvasprintdialog</STRONG> command creates  a  print  dialog  for
78
     printing  the  contents of a canvas widget to a printer or a
79
     file. It is possible to specify page orientation, the number
80
     of  pages  to print the image on and if the output should be
81
     stretched to fit the page.
82
 
83
 
84
 
85
</PRE>
86
<H2>METHODS</H2><PRE>
87
     The <STRONG>canvasprintdialog</STRONG> command  creates  a  new  Tcl  command
88
     whose  name is <EM>pathName</EM>.  This command may be used to invoke
89
     various operations on the widget.  It has the following gen-
90
     eral form:
91
 
92
          <EM>pathName</EM> <EM>option</EM> ?<EM>arg</EM> <EM>arg</EM> ...?
93
 
94
     <EM>Option</EM> and the <EM>arg</EM>s determine the exact behavior of the com-
95
     mand.    The   following  commands  are  possible  for  can-
96
     vasprintdialog widgets:
97
 
98
 
99
</PRE>
100
<H2>ASSOCIATED METHODS</H2><PRE>
101
     <STRONG>getoutput</STRONG>       <STRONG>setcanvas</STRONG>      <STRONG>refresh</STRONG>         <STRONG>print</STRONG>
102
 
103
     See the "canvasprintbox" class manual entry for  details  on
104
     the associated methods.
105
 
106
 
107
</PRE>
108
<H2>INHERITED METHODS</H2><PRE>
109
     <STRONG>add</STRONG>             <STRONG>buttonconfigure</STRONG>                <STRONG>defaulthide</STRONG>
110
     <STRONG>insert</STRONG>          <STRONG>invoke</STRONG>         <STRONG>show</STRONG>
111
 
112
     See the "buttonbox" widget manual entry for details  on  the
113
     above inherited methods.
114
 
115
     <STRONG>activate</STRONG>        <STRONG>deactivate</STRONG>
116
 
117
     See the "dialogshell" widget manual entry for details on the
118
     above inherited methods.
119
 
120
 
121
 
122
</PRE>
123
<H2>WIDGET-SPECIFIC METHODS</H2><PRE>
124
     <EM>pathName</EM> <STRONG>cget</STRONG> <EM>option</EM>
125
          Returns the current value of the  configuration  option
126
          given  by  <EM>option</EM>.   <EM>Option</EM>  may have any of the values
127
          accepted by the <STRONG>canvasprintdialog</STRONG> command.
128
 
129
     <EM>pathName</EM> <STRONG>configure</STRONG> ?<EM>option</EM>? ?<EM>value</EM> <EM>option</EM> <EM>value</EM> ...?
130
          Query  or  modify  the  configuration  options  of  the
131
          widget.   If  no  <EM>option</EM>  is  specified, returns a list
132
          describing all of the available  options  for  <EM>pathName</EM>
133
          (see  <STRONG>Tk_ConfigureInfo</STRONG> for information on the format of
134
          this list).  If <EM>option</EM> is specified with no <EM>value</EM>, then
135
          the  command  returns  a  list describing the one named
136
          option (this list will be identical to the  correspond-
137
          ing  sublist  of  the  value  returned  if no <EM>option</EM> is
138
          specified).  If one or more  <EM>option</EM> - <EM>value</EM>  pairs  are
139
          specified,  then  the command modifies the given widget
140
          option(s) to have the given value(s);  in this case the
141
          command  returns  an empty string.  <EM>Option</EM> may have any
142
          of the values accepted by  the  <STRONG>canvasprintdialog</STRONG>  com-
143
          mand.
144
 
145
 
146
 
147
</PRE>
148
<H2>COMPONENTS</H2><PRE>
149
     Name:           <STRONG>cpb</STRONG>
150
     Class:          <STRONG>Canvasprintbox</STRONG>
151
 
152
          The cpb component is the canvas print box for the  can-
153
          vas  print  dialog.   See  the  "canvasprintbox" widget
154
          manual entry for details on the cpb component item.
155
 
156
 
157
 
158
</PRE>
159
<H2>EXAMPLE</H2><PRE>
160
           option add *textBackground white
161
 
162
           canvasprintdialog .cpb
163
           .cpb activate
164
 
165
 
166
 
167
</PRE>
168
<H2>AUTHOR</H2><PRE>
169
     Tako Schotanus
170
 
171
     Tako.Schotanus@bouw.tno.nl
172
 
173
 
174
</PRE>
175
<H2>KEYWORDS</H2><PRE>
176
     canvasprintdialog, canvasprintbox, dialog, widget
177
 
178
 
179
 
180
 
181
 
182
 
183
 
184
 
185
 
186
 
187
 
188
 
189
 
190
 
191
 
192
 
193
 
194
 
195
 
196
 
197
 
198
 
199
 
200
 
201
</PRE>
202
</BODY>
203
</HTML>

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.