activeBackground background borderWidth cursor foreground highlightBackground highlightColor highlightThickness insertBackground insertBorderWidth insertOffTime insertOnTime insertWidth relief repeatDelay repeatInterval selectBackground selectBorderWidth selectForeground
See the options manual entry for details on the standard options.
Name: filename Class: FileName Command-Line Switch: -filename
Name: hpagecnt Class: PageCnt Command-Line Switch: -hpagecnt
Name: orient Class: Orient Command-Line Switch: -orient
Name: output Class: Output Command-Line Switch: -output
Name: pageSize Class: PageSize Command-Line Switch: -pagesize
Name: posterize Class: Posterize Command-Line Switch: -posterize
Name: printCmd Class: PrintCmd Command-Line Switch: -printcmd
Name: printRegion Class: PrintRegion Command-Line Switch: -printregion
Name: stretch Class: Stretch Command-Line Switch: -stretch
Name: vPageCnt Class: PageCnt Command-Line Switch: -vpagecnt
Implements a print box for printing the contents of a canvas widget to a printer or a file. It is possible to specify page orientation, the number of pages to print the image on and if the output should be stretched to fit the page. Options exist to control the appearance and actions of the widget.
The iwidgets::canvasprintbox command creates a new Tcl command whose name is pathName. This command may be used to invoke various operations on the widget. It has the following general form:
pathName option ?arg arg ...?Option and the args determine the exact behavior of the command. The following commands are possible for canvasprintbox widgets:
Name: prtflentry Class: Entry
Name: hpcnt Class: Entry
package require Iwidgets 4.0 iwidgets::canvasprintbox .fsb -orient landscape -stretch 1 pack .fsb -padx 10 -pady 10 -fill both -expand yes
Tako.Schotanus@bouw.tno.nl