Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXWizard Class Reference

#include <FXWizard.h>

Inheritance diagram for FX::FXWizard:

FX::FXDialogBox FX::FXTopWindow FX::FXShell FX::FXComposite FX::FXWindow FX::FXDrawable FX::FXId FX::FXObject List of all members.

Public Methods

 FXWizard (FXApp *a, const FXString &name, FXImage *image, FXuint opts=DECOR_TITLE|DECOR_BORDER|DECOR_RESIZE, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=10, FXint pr=10, FXint pt=10, FXint pb=10, FXint hs=10, FXint vs=10)
 Construct free-floating Wizard.

 FXWizard (FXWindow *owner, const FXString &name, FXImage *image, FXuint opts=DECOR_TITLE|DECOR_BORDER|DECOR_RESIZE, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=10, FXint pr=10, FXint pt=10, FXint pb=10, FXint hs=10, FXint vs=10)
 Construct Wizard which will always float over the owner window.

FXButtonadvanceButton () const
 Return a pointer to the "Advance" button.

FXButtonretreatButton () const
 Return a pointer to the "Retreat" button.

FXButtonfinishButton () const
 Return a pointer to the "Finish" button.

FXButtoncancelButton () const
 Return a pointer to the "Cancel" button.

FXSwitchergetContainer () const
 Return the container used as parent for the subpanels.

void setImage (FXImage *img)
 Change the image being displayed.

FXImagegetImage () const
 Return the current image.

FXint getNumPanels () const
 Return number of panels.

void setCurrentPanel (FXint index)
 Bring the child window at index to the top.

FXint getCurrentPanel () const
 Return the index of the child window currently on top.

virtual void save (FXStream &store) const
 Save to stream.

virtual void load (FXStream &store)
 Load from stream.

virtual ~FXWizard ()

Detailed Description

A Wizard widget guides the user through a number of panels in a predefined sequence; each step must be completed before moving on to the next step. For example, a Wizard may be used to install software components, and ask various questions at each step in the installation.