Unknown YCP Module |
This module has an unstable interface. |
Imports
Global Functions
Local Functions |
File: modules/CWMTable.ycp
Package: Table dialogs backend
Summary: Routines for Unified Table widget
Authors: Josef Reidinger
$Id: CWMTable.ycp
Validate table options specifyign attributesA
- Parameters:
-
attr a map of table attributes
- Return value:
-
true if validation succeeded
Validate type of entry of the option description map Also checks option description maps if present
- Parameters:
-
key string key of the map entry value any value of the map entry widget any name of the widget/option
- Return value:
-
true if validation succeeded
Validate the table description
- Parameters:
-
key descr a map containing the table description
- Return value:
-
true if validation succeeded
Enable or disable the Delete and up/down buttons
- Parameters:
-
descr map table description map
Initialize the displayed table
- Parameters:
-
descr map description map of the whole table key table widget key
Handle the event that happened on the table
- Parameters:
-
descr map description of the table key table widget key event_descr map event to handle
- Return value:
-
modified event if needed
Disable whole table
- Parameters:
-
descr map table widget description map
Enable whole table (except buttons that should be grayed according to currently selected table row
- Parameters:
-
descr map table widget description map
Wrapper for TableInit using CWM::GetProcessedWidget () for getting widget description map
- Parameters:
-
key any widget key
Wrapper for TableHandle using CWM::GetProcessedWidget () for getting widget description map
- Parameters:
-
key any widget key event_descr map event description map
- Return value:
-
return value for wizard sequencer or nil
Get the map with the table widget
- Parameters:
-
attrib map table attributes widget_descr map widget description map of the table, will be unioned with the generated map
- Return value:
-
table widget