Bootloader installation and configuration |
include/bootloader/routines/widgets.ycp |
Common widgets for being used by several bootloaders | |
|
|
This module has an unstable interface. |
Imports
Includes
Local VariablesLocal Functions
|
local
GlobalOptionInit (string widget)
->
void
Init function of widget
- Parameters:
-
widget string id of the widget
local
GlobalOptionStore (string widget, map event)
->
void
Store function of a widget
- Parameters:
-
widget string widget key event map event that caused the operation
local
global_handlers
->
map<string,any>
Map of default (fallback) handlers for widget events on global widgets
local
InstDetailsButtonHandle (string widget, map event)
->
symbol
Handle function of a widget
- Parameters:
-
widget string widget key event map event description of event that occured
- Return value:
-
to return to wizard sequencer, or nil
local
LoaderOptionsButtonHandle (string widget, map event)
->
symbol
Handle function of a widget
- Parameters:
-
widget string widget key event map event description of event that occured
- Return value:
-
to return to wizard sequencer, or nil
local
RedrawSectionsTable (list<map<string,any> > sects)
->
void
Refresh and redraw widget wits sections
- Parameters:
-
sects list of current sections
local
SectionsInit (string widget)
->
void
Init function of widget
- Parameters:
-
widget string id of the widget
local
getSectionsWidget ()
->
map<string,any>
Get map of widget
- Return value:
-
a map of widget
local
LoaderTypeComboWidget ()
->
term
Get the widget for boot laoder selection combo
- Return value:
-
the widget
local
LoaderTypeComboInit (string widget)
->
void
Init function of widget
- Parameters:
-
widget string id of the widget
local
LoaderTypeComboHandle (string key, map event)
->
symbol
Handle function of a widget
- Parameters:
-
key any widget key event map event description of event that occured
- Return value:
-
to return to wizard sequencer, or nil
local
LoaderTypeValidate (string widget, map event)
->
boolean
Validate function of a widget
- Parameters:
-
widget string widget key event map event that caused validation
- Return value:
-
true if validation succeeded
local
LoaderTypeStore (string widget, map event)
->
void
Store function of a widget
- Parameters:
-
widget string widget key event map event that caused the operation
local
manualEditHandle (string key, map event)
->
symbol
Handle function of a widget
- Parameters:
-
key any widget key event map event description of event that occured
- Return value:
-
to return to wizard sequencer, or nil
local
getManualEditWidget ()
->
map<string,any>
Get map of widget
- Return value:
-
a map of widget
local
resetButtonInit (string widget)
->
void
Init function of widget
- Parameters:
-
widget any id of the widget
local
resetButtonHandle (string widget, map event)
->
symbol
Handle function of a widget
- Parameters:
-
widget any widget key event map event description of event that occured
- Return value:
-
to return to wizard sequencer, or nil
local
getAdvancedButtonWidget ()
->
map<string,any>
Get map of widget
- Return value:
-
a map of widget
local
TabsDescr ()
->
map
Get the main dialog tabs description
- Return value:
-
a map the description of the tabs
local
_common_global_widgets
->
map<string,map<string,any> >
Cache for CommonGlobalWidgets function
local
CommonGlobalWidgets ()
->
map<string,map<string,any> >
Get general widgets for global bootloader options
- Return value:
-
a map describing all general widgets for global options