- Home: http://tkhtml.tcl.tk/hv3.html
- A version of hv3 for eTcl is available from http://www.evolane.com/software/etcl/index.html
See also Use Hv3 to view ActiveTcl docsMHo:
- Where can I specify the proxy?
- Without support for a proxy autoconfig script (proxy.pac), usage is problematic
RJM 20120509 has modified the hv3 demo application to allow for embedding it into another tcl application. This means that the application can run in a toplevel window or in a frame. Moreover, all gui-elements are stripped (except the scrollbars) as well as some separation of low level hv3 library from the application source file set as well as removing the snit related files, as they already exist as a separate library - at least a sample starkit did not separate application from the libs. I decided to supply the modified sources in a starkit, because it provides the proper separation of app and libs as well as a small demo application which is self explaining.I think that hv3 has its strength in embedding it in tcl applications (e.g. html-based help system). Currently, the state of stripping is quite dirty. A desired state would be a hierarchical application, where the designer can decide which level of performance (and hence, code size) is needed. Using simply Tkhtml without hv3-0.1 allows for simple rendering with images, but not so easy with hyperlinks. The hv3 Megawidget (hv3-0.1 library) allows for more performance, but the documentation about how to properly assign -requestcmd configuration etc. is present, but some details are lacking and especially documentation of the data structures within hv3 is lacking. As a consequence stripping down the powerful demo was chosen to do.How about an imagined hierarchy where the designer can leave out what he does not need?In an order from low to high level (todo):
- hv3 (megawidget = lib)
- hv3 lib and images & hyperlink rendering on top of it (hv3_browser.tcl and hv3_util.tcl?)
- history, bookmarks, sqlite usage etc.
- context menus
- visible GUI elements (status, toolbar, menu)
button .b -text "next document" -font bold -width 25 -height 3 -command next pack .b package require hv3 source hv3-stripped/hv3_main-stripped.tcl toplevel .ht ;# currently a fixed name hv3render file:demo.html proc next {} { hv3render file:demo1.html .b config -state disabled # file copied, because Windows cannot open documents within a VFS file copy styleGuide_1.pdf ../styleGuide_1.pdf }Within this archive, also a minor improvement in hv3-0.1 has been included: the ability to use the mouse wheel with the rendered widgets. The source code as a basis for modifications has been taken from [6]. This seems to be most recent source, with additional proc comments and some minor stuff as compared to the "official" code base.Update 20120515: demo kit archive now extended with external browser/viewer application for http protocol & pdf files - runs with tcl 8.5 due to exec {*}-syntax.
"Hv3 and the art of minimalist web-browsing" [7]
lm2012/09/06 : Maybe the work to be done on hv3 could be the subject of an Google Summer of Code topic ? Also, I tried the hv3 today and libs it has been buiild with are not present anymore (libstdc++.so.5) as it dated from 2008.