wx.wizard.WizardPage

Inheritance diagram for wx.wizard.WizardPage:



Description

wx.wizard.WizardPage is one of the screens in wx.wizard.Wizard: it must know what are the following and preceding pages (which may be None for the first/last page).

Except for this extra knowledge, wx.wizard.WizardPage is just a panel, so the controls may be placed directly on it in the usual way.

This class allows the programmer to decide the order of pages in the wizard dynamically (during run-time) and so provides maximal flexibility. Usually, however, the order of pages is known in advance in which case wx.wizard.WizardPageSimple class is enough and it is simpler to use.

Note

To use this class, you must override GetPrev and GetNext method (or you may use wx.wizard.WizardPageSimple instead).

GetBitmap can also be overridden, but this should be very rarely needed.

See also

wx.wizard.Wizard

Properties Summary

Class API

Methods

__init__()
No docstrings available for this method.

GetBitmap()

This method is called by wx.wizard.Wizard to get the bitmap to display alongside the page.

If the bitmap was not explicitly set in the constructor (i.e. if wx.NullBitmap is returned), the default bitmap for the wizard should be used.

The only cases when you would want to override this function is if the page bitmap depends dynamically on the user choices, i.e. almost never.


Returns:

wx.Bitmap


GetNext()

Get the page which should be shown when the user chooses the "Next" button: if None is returned, this button will be disabled.

The last page of the wizard will usually return None from here, but the others will not.


Returns:

wx.wizard.WizardPage

See also

GetPrev


GetPrev()

Get the page which should be shown when the user chooses the "Back" button: if None is returned, this button will be disabled.

The first page of the wizard will usually return None from here, but the others will not.


Returns:

wx.wizard.WizardPage

See also

GetNext


Properties

Bitmap
See GetBitmap
Next
See GetNext
Prev
See GetPrev