Unknown YCP Module |
This module has an unstable interface. |
File: modules/CWMTab.ycp
Package: Common widget manipulation
Summary: Routines for tab widget handling
Authors: Jiri Srain
$Id$
Empty tab (just to be used as fallback constant)
Fallback label for a tab if no is defined
ID of the currently displayed tab
ID of previously selected tab
description map of the currently selected tab
description map of the currently selected tab
this one is expressly excluded from Push+Pop
nesting stack, needed because of bnc#406138
Initialize the widgets in the tab
- Parameters:
-
tab a map describing the tab
Clean up the widgets in the tab
- Parameters:
-
tab a map describing the tab
Handle events on the widgets inside the tab
- Parameters:
-
tab a map describing the tab event map event that caused the event handling
- Return value:
-
for wizard sequencer or nil
Store settings of all widgets inside the tab
- Parameters:
-
tab a map describing the tab event map event that caused the saving process
Validate settings of all widgets inside the tab
- Parameters:
-
tab a map describing the tab event map event that caused the validation process
- Return value:
-
true if validation succeeded
Redraw the whole tab
- Parameters:
-
tab a map describing the tab
Redraw the part of the help related to the tab widget
- Parameters:
-
widget a map of the tab widget tab a map describing the tab
Make the currently selected tab be displayed a separate way
Switch to a new tab
- Parameters:
-
new_tab_id widget tab set description
Init function of the widget
- Parameters:
-
widget key strnig the widget key
Clean up function of the widget
- Parameters:
-
key the widget key (ignored)
Handle function of the widget
- Parameters:
-
widget key strnig the widget key event map event to be handled
- Return value:
-
for wizard sequencer or nil
Store function of the widget
- Parameters:
-
key strnig the widget key event map that caused widget data storing
Init function of the widget
- Parameters:
-
key strnig the widget key
Get the ID of the currently displayed tab
- Return value:
-
the ID of the currently displayed tab
Get the ID of the last displayed tab (after CWM::Run is done). It is needed because of bnc#134386.
- Return value:
-
the ID of the last displayed tab
A hook to handle Alt-Ctrl-Shift-D
Handle function of the widget
- Parameters:
-
key strnig the widget key event map event to be handled
- Return value:
-
for wizard sequencer or nil
Validate function of the widget
- Parameters:
-
key strnig the widget key event map that caused widget data storing
Get the widget description map
- Parameters:
-
settings
- Return value:
-
the widget description map