Padre::Wx::HtmlWindow - Padre-enhanced version of Wx::HtmlWindow
Padre::Wx::HtmlWindow provides a Padre-specific subclass of Wx::HtmlWindow that adds some additional features, primarily default support for pod2html functionality.
Padre::Wx::HtmlWindow
Padre::Wx::HtmlWindow implements all the methods described in the documentation for Wx::HtmlWindow, and adds some additional methods.
$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.
load_file
Returns true on success, or throws an exception on error.
$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.
$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.
load_html
The method is provided mainly as a convenience, it's main role is to act as the callback handler for background rendering tasks.
See the main Padre documentation.
Adam Kennedy <adamk@cpan.org>
Copyright 2008-2016 The Padre development team as listed in Padre.pm.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
To install Padre, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Padre
CPAN shell
perl -MCPAN -e shell install Padre
For more information on module installation, please visit the detailed CPAN module installation guide.