I'd like to write my user documentation in HTML and offer
it in a separate toplevel window within a scrolled text widget.
I thought, the Tk::HTML module would help me with that,
but when I installed it, I got nearly no docu about methods
etc.
The readme said, that libnet and libwww-perl would be
required, so I installed these to, but they also give me no
clue about how to use HTML in a text widget.
Does anybody know?
Thanks and regards,
--------------------------------------------------------------------------------
Gerhard Petrowitsch Tel.: +49 8151 270 126
SP3D Chip Design GmbH FAX: +49 8151 270 200
Petersbrunnerstr. 17 Home Office: +49 821 9069 741
82319 Starnberg, Germany SERI: gerhard@DESTNSC1
--------------------------------------------------------------------------------
Be like the ant. When the ant gets a mixture of sand and sugar,
it selects only sugar; it neglects sand. See only good in others.
Pay no attention to the bad. (Sathya Sai Baba)
--------------------------------------------------------------------------------
-++**==--++**==--++**==--++**==--++**==--++**==--++**==
This message was posted through the Stanford campus mailing list
server. If you wish to unsubscribe from this mailing list, send the
message body of "unsubscribe ptk" to majo...@lists.stanford.edu
You want Tk::Web. For example:
use Tk;
use Tk::Web;
my $url = '/etc/motd';
my $mw = tkinit;
my $top = $mw->toplevel;
my $web = Tk::Web->new($top)->pack(-fill => "both", -expand => "yes");
$web->url($url);
MainLoop;
Tk::Web is ok for simple html, but it really needs an update.
John.