http://qs321.pair.com?node_id=905188

Kanishka.black0 has asked for the wisdom of the Perl Monks concerning the following question:

I have been trying to figure it out that HTML code can be displayed over Gtk2.

i have tried the Gtk2::Webkit and Gtk2::Mozembed modules for displaying the content, they get html content from over the server(it needs an http server)

Is there any way to display HTML content on GTK native or else if there is any way to display the HTMl code from a string (HTML code) over the above modules.

if i missed any points on the modules or if there is any better option , please let me know

Actually i want to build an GTK app where html content is displayed in the GTK window

Replies are listed 'Best First'.
Re: html over Gtk2-Perl
by Anonymous Monk on May 17, 2011 at 01:58 UTC
    Is there any way to display HTML content on GTK native or else if there is any way to display the HTMl code from a string (HTML code) over the above modules.

    There probably is, but the API is probably more difficult. Simple solution, save it to a file, display the file, use File::Temp and URI::file, like HTML::Display does

      HTML::Display only get the html code into a string .I am write where i started i don't need the html code to be displayed in native GTk .. i need the HTML front-end over GTK
        What does that mean?