Padre::Wx::HtmlWindow3pm
Padre-enhanced version of wx::htmlwindow
Overview
"Padre::Wx::HtmlWindow" provides a Padre-specific subclass of Wx::HtmlWindow that adds some additional features, primarily default support for pod2html functionality.
Methods
"Padre::Wx::HtmlWindow" implements all the methods described in the documentation for Wx::HtmlWindow, and adds some additional methods.
load_file
$html_window->load_file('my.pod');
The "load_file" method takes a file name, loads the file, transforms it to HTML via the default Padre::Pod2HTML processor, and then loads the HTML into the window.
Returns true on success, or throws an exception on error.
load_file
$html_window->load_pod( "=head1 NAME\n" );
The "load_file" method takes a string of POD content, transforms it to HTML via the default Padre::Pod2HTML processor, and then loads the HTML into the window.
Returns true on success, or throws an exception on error.
load_html
$html_window->load_html( "<head><body>Hello World!</body></html>" );
The "load_html" method takes a string of HTML content, and loads the HTML into the window.
The method is provided mainly as a convenience, it's main role is to act as the callback handler for background rendering tasks.
Support
See the main Padre documentation.
Releases
3 releases since Debian 6.0 (Squeeze); the text changed 2 times.