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(%(arg-type)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(%(arg-type)WizardPage% prev)

Sets the previous page.

WizardPageSimple#set_next

set_next(%(arg-type)WizardPage% next)

Sets the next page.

WizardPageSimple#chain

chain(%(arg-type)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 2023-06-03 08:07:42 +0000]