YaST2 Developers Documentation: Bootloader installation and configuration

Bootloader installation and configuration

include/bootloader/routines/common_options.ycp
Shared widgets for bootloader options.
  • Josef Reidinger
  • Jozef Uhliarik

This module has an unstable interface.

Includes

  • bootloader/routines/common_helps.ycp

Local Functions

local InitGlobalStr (string widget) -> void

Init function for widget value (InputField)

Parameters:
widget any id of the widget
local StoreGlobalStr (string widget, map event) -> void

Store function of a widget (InputField)

Parameters:
widget any widget key
event map event description of event that occured
local InitGlobalBool (string widget) -> void

Init function for widget value (CheckBox)

Parameters:
widget any id of the widget
local StoreGlobalBool (string widget, map event) -> void

Init function for widget value (CheckBox)

Parameters:
widget any id of the widget
event
local InitGlobalInt (string widget) -> void

Init function for widget value (IntField)

Parameters:
widget any id of the widget
local StoreGlobalInt (string widget, map event) -> void

Store function of a widget (IntField)

Parameters:
widget any widget key
event map event description of event that occured
local HandleGlobalBrowse (string widget, map event) -> symbol

Handle function of a widget (IntField + browse button)

Parameters:
widget any widget key
event map event description of event that occured
Return value:
nil
local CommonCheckboxWidget (string label, string help) -> map<string,any>

Generic widget of a checkbox There is not defined valid function if it is necessary create own definition of widget

Parameters:
label
help
Return value:
CWS widget
local CommonInputFieldWidget (string label, string help) -> map<string,any>

Generic widget of a inputfield/textentry (widget) There is not defined valid function if it is necessary create own definition of widget

Parameters:
label
help
Return value:
CWS widget
local CommonInputFieldBrowseWidget (string label, string help, string id) -> map<string,any>

Generic widget of a inputfield + browse button There is not defined valid function if it is necessary create own definition of widget

Parameters:
label
help
id
Return value:
CWS widget
local CommonIntFieldWidget (string label, string help, integer min, integer max) -> map<string,any>

Generic widget of a intfield (widget) There is not defined valid function if it is necessary create own definition of widget

Parameters:
label
help
min
max
Return value:
CWS widget
local TimeoutWidget () -> map<string,any>

Common widget of a Timeout

Return value:
CWS widget
local CommonOptions () -> map<string,map<string,any> >

Common widgets of global settings

Return value:
CWS widgets