ClassyTcl

  HTML

Home    Documentation    Screenshots    Binary distributions    Source distribution   

subclass of Widget
creates a HTML display widget. The HTML class is based on the html widget by D. Richard Hipp if present as a loadable package. It understands HTML 3.2. Forms support is not incorporated yet. If the compiled html widget is not found, ClassyTk reverts to the Tcl-only html library by Stephen Uhler that understands HTML 2.0. The HTML class adds things such as asyncronous transfers and history.

HTML specific options

Command-Line Name: -url
Database Name: url
Database Class: Url
Command-Line Name: -indent
Database Name: indent
Database Class: Indent
Command-Line Name: -update
Database Name: update
Database Class: Update
Command-Line Name: -tab
Database Name: tab
Database Class: Tab
Command-Line Name: -unknown
Database Name: unknown
Database Class: Unknown
Command-Line Name: -size
Database Name: size
Database Class: Size
Command-Line Name: -symbols
Database Name: symbols
Database Class: Symbols
Command-Line Name: -tagmap
Database Name: tagMap
Database Class: TagMap
Command-Line Name: -insertmap
Database Name: insertMap
Database Class: InsertMap
Command-Line Name: -errorcommand
Database Name: errorCommand
Database Class: Command
Command-Line Name: -hyperlinkcommand
Database Name: hyperlinkCommand
Database Class: Command
Command-Line Name: -state
Database Name: state
Database Class: State
Command-Line Name: -wrap
Database Name: wrap
Database Class: Wrap

HTML specific methods

pathname geturl url
pathname reload
pathname back
pathname forward
pathname history
pathname fullurl url
pathname load file
pathname set html
pathname linkat x y
returns the link (href) at position x,y. This is used in comination with bindlink to change the behaviour of links.
eg.:
 objectName bindlink <3> {puts [%W linkat %x %y]}
pathname bindlink ?event? ?sequence?
binds action to a certain event happening on a link
eg.:
 objectName bindlink <3> {puts [%W linkat %x %y]}
pathname spliturl url
splits the given url into a list containing {protocol host file name}
pathname source
returns current source
pathname clearcache
clears the image cache
pathname getdata ?options? url
gets data from a certain url
Peter De Rijk
hosted at SourceForge.net Logo