Wx::Perl::HtmlWizardPage - A simple Wx::WizardPage subclass for showing rendered HTML


Wx-Perl-HtmlWizardPage documentation  | view source Contained in the Wx-Perl-HtmlWizardPage distribution.

Index


NAME

Top

Wx::Perl::HtmlWizardPage - A simple Wx::WizardPage subclass for showing rendered HTML

SUPERCLASS

Top

Wx::Perl::HtmlWizardPage is a subclass of Wx::WizardPage

SYNOPSIS

Top

    use Wx;
    use Wx::Perl::HtmlWizardPage
    $self->{_wizard}        = Wx::Wizard->new($self,                     # parent
                                              -1,                        # id
                                              "This is a new Wizard",    # title
                                              Wx::Bitmap->new('logo.jpg', wxBITMAP_TYPE_JPEG)); # bitmap

    $self->{_startpage}     = Wx::WizardPageSimple->new($self->{_wizard});
    $self->{_lastpage}      = Wx::WizardPageSimple->new($self->{_wizard});

    $self->{_htmlpage}      = Wx::Perl::HtmlWizardPage->new(  $self->{_wizard},    # parent
                                                              $self->{_startpage}, # previous page
                                                              $self->{_lastpage}); # next page







DESCRIPTION

Top

This class allows you to quickly create a wizard page with some rendered HTML

USAGE

Top

In addition to the methods described below, you can call any Wx::HtmlWindow method on objects of the Wx::Perl::HtmlWizardPage. See the wxWidgets reference for a complete list of all methods.

new(wizard, previous, next)

This is the constructor. It takes three arguments:

wizard

This is the (parent) wizard that this page will be part of

previous

This is the previous page in the wizard

next

This is the next page in the wizard

GetNext

This method is needed for the wizard to work. It returns the next page in the wizard, as defined in the constructor

GetPrev

This method is needed for the wizard to work. It returns the previous page in the wizard, as defined in the constructor

SetNext(page)

This method will set the next page to the specified Wizard page.

SetPrev(page)

This method will set the previous page to the specified Wizard page.

AUTHOR

Top

Jouke Visser, <jouke@pvoice.org>

BUGS

Top

Please report any bugs or feature requests to bug-wx-perl-htmlwizardpage@rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Wx-Perl-HtmlWizardPage. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

COPYRIGHT & LICENSE

Top


Wx-Perl-HtmlWizardPage documentation  | view source Contained in the Wx-Perl-HtmlWizardPage distribution.