wxRuby Documentation Home

Wx::WizardPageSimple

WizardPageSimple is the simplest possible WizardPage implementation: it just returns the pointers given to its constructor from GetNext() and GetPrev() functions.

This makes it very easy to use the objects of this class in the wizards where the pages order is known statically – on the other hand, if this is not the case you must derive your own class from WizardPage instead.

Derived from

WizardPage

Panel

Window

EvtHandler

Object

See also

Wizard, Wizard sample

Methods

WizardPageSimple.new

WizardPageSimple.new(Wizard parent = nil,  WizardPage prev = nil, 
                     WizardPage next = nil, 
                     Bitmap bitmap = NullBitmap)

Constructor takes the previous and next pages. They may be modified later by set_prev()() or set_next()().

WizardPageSimple#set_prev

set_prev(WizardPage prev)

Sets the previous page.

WizardPageSimple#set_next

set_next(WizardPage next)

Sets the next page.

WizardPageSimple#chain

chain(WizardPageSimple first,  WizardPageSimple second)

A convenience function to make the pages follow each other.

Example:

RadioboxPage *page3 = new RadioboxPage(wizard);
ValidationPage *page4 = new ValidationPage(wizard);
WizardPageSimple::Chain(page3, page4);

[This page automatically generated from the Textile source at Thu May 01 00:50:49 +0100 2008]