activeBackground background borderWidth cursor exportSelection foreground highlightColor highlightThickness insertBackground insertBorderWidth insertOffTime insertOnTime insertWidth padX padY relief repeatDelay repeatInterval selectBackground selectBorderWidth selectForeground setGrid
See the options manual entry for details on the standard options.
activeRelief elementBorderWidth jump troughColor
See the scrollbar widget manual entry for details on the above associated options.
spacing1 spacing2 spacing3 state tabs wrap
See the text widget manual entry for details on the above associated options.
labelBitmap labelFont labelImage labelMargin labelPos labelText labelVariable height hscrollMode sbWidth scrollMargin visibleitems vscrollMode width
See the scrolledtext class manual entry for details on the inherited options.
sticky
See the labeledwidget class manual entry for details on the inherited options.
Name: feedback Class: FeedBack Command-Line Switch: -feedback
Name: fixedfont Class: FixedFont Command-Line Switch: -fixedfont
Name: fontname Class: FontName Command-Line Switch: -fontname
Name: fontsize Class: FontSize Command-Line Switch: -fontsize
Name: foreground Class: Foreground Command-Line Switch: -foreground
Name: link Class: Link Command-Line Switch: -link
Name: linkcommand Class: LinkCommand Command-Line Switch: -linkcommand
Name: alink Class: alink Command-Line Switch: -alink
Name: textBackground Class: Background Command-Line Switch: -textbackground
Name: unknownimage Class: UnknownImage Command-Line Switch: -unknownimage
Name: update Class: Update Command-Line Switch: -alink
The iwidgets::scrolledhtml command creates a scrolled text widget with the additional capability to display html formatted documents. An import method is provided to read an html document file, and a render method is provided to display a html formatted text string.
The iwidgets::scrolledhtml 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 scrolledhtml widgets:
bbox compare debug delete dlineinfo get index insert mark scan search see tag window xview yview
See the text manual entry for details on the standard methods.
export clear
See the scrolledhtml manual entry for details on the inherited methods.
This widget is compliant with HTML 3.2 with the following exceptions:
No features requiring a connection to an http server are supported.
Some image alignments aren't supported, because they are not supported by the text widget.
The <br> attributes dealing with image alignments aren't supported.
Automatic table sizing is not supported very well, due to limitations of the text widget
package require Iwidgets 4.0 option add *textBackground white iwidgets::scrolledhtml .sh -fontname helvetica -linkcommand "this import -link" pack .sh -padx 10 -pady 10 -fill both -expand yes .sh import ~/public_html/index.html