YaST2 Developers Documentation: YCP UI Reference: Widgets



YCP UI Widget Reference

Back to the widget index

Wizard Wizard frame - not for general use, use the Wizard:: module instead!

Description

This is the UI-specific technical implementation of a wizard dialog's main widget. This is not intended for general use - use the Wizard:: module instead which will use this widget properly.

A wizard widget always has ID `wizard.

The ID of the single replace point within the wizard is always `contents.

Note: This is a "special" widget, i.e. not all UIs necessarily support it. Check for availability with HasSpecialWidget( `PartitionSplitter ) before using it.

Arguments

any backButtonId ID to return when the user presses the "Back" button
string backButtonLabel Label of the "Back" button
any abortButtonId ID to return when the user presses the "Abort" button
string abortButtonLabel Label of the "Abort" button
any nextButtonId ID to return when the user presses the "Next" button
string nextButtonLabel Label of the "Next" button

Special Properties

integer Value the numerical value

Options

`opt(`stepsEnabled) Enable showing wizard steps (use UI::WizardCommand() to set them).
`opt(`treeEnabled) Enable showing a selection tree in the left panel. Disables stepsEnabled.

Sample Usage

`Wizard(`back, "&Back", `abort, "Ab&ort", `next, "&Next" )

Back to the widget index


YaST2 Developers Documentation: YCP UI Reference: Widgets

Generated Fri May 21 12:39:01 2004