html-widget

A class of widget that renders HTML and handles clicking on links and
so on. It can be used as the main pane of a web browser. (In fact,
there is also an html-browser dialog that incorporates an html-widget along with other common
browser widgets.)

On Windows, this widget is implemented on the WebBrowser OCX control.
(See def-cg-ocx-control for
information on creating other Common Graphics widgets from OCX
controls.) On Linux, it is implemented on the Mozilla GTK widget, but
that implementation has difficulties, as we discuss next.

We have been having unsolved problems with the Mozilla GTK widget, so
the CG html-widget is
really supported only on Windows. It is still available on Linux,
though, for personal use on any linux installations where it may still
work. Also, the Mozilla widget must be installed, which generally
requires installing the mozilla-dev rpm package, and the
variable excl:*mozilla-library-path* must be set to the
directory in which it is installed. An alternative is to call
invoke-private-html-browser,
though that doesn't allow embedding the third-party browser inside a
CG window hierarchy.

One disadvantage of this widget is that neither of the controls on
which it is based appears to provide a way to search for a text string
in the HTML.