in reply to Displaying web pages in TK?

Tk can launch an external programme just like any other Perl code, but as for doing it within Tk? Try Tk::HTML, it will render HTML text, but I dont think it will handle images.

jdtoronto

Replies are listed 'Best First'.
Re^2: Displaying web pages in TK?
by GrandFather (Saint) on Sep 07, 2006 at 00:13 UTC

    Can you provide sample code using Tk::HTML? The documentation does not indicate that the module does anything in particular. It refers to seemingly non-existant other documentation for a seemingly non-existant other module (LWP::IO). It would be nice to see a usage example.


    DWIM is Perl's answer to Gödel
      I don't have a usage example, but one of my contractors a couple of years ago produced something which I may still have buried away. I think the docs on Tk::HTML are inaccurate, it seems to use LWP::TkIO, and seems to also require Tk::Web. I had planned to use soemthing like that to preview HTML emails in a marketing system, but we ended up using the installed browser instead.

      jdtoronto