Jouke Visser

NAME

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

SUPERCLASS

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

SYNOPSIS

    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

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

USAGE

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

Jouke Visser, <jouke@pvoice.org>

BUGS

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

Copyright 2005 Jouke Visser, All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.