
functions
files
intro
|
|
Security configuration |
include/security/routines.ycp |
Routines |
|
|
These functions are used for the user interface creation
and interaction.
Usage:
include "security/ui.ycp";
map WIDGETS = CallFunction(`your_widgets());
Imports
Includes
Local Functions
|
|
|
local VSeparator () -> term
|
|
Vertical separator
- Return value:
local HSeparator () -> term
|
|
Horizontal separator
- Return value:
local settings2widget (string ID) -> term
|
|
Return a widget from the WIDGETS map created acording to the ID.
- Parameters:
ID |
security setting identifier |
- Return value:
- See:
-
local widget2settings (string ID) -> void
|
|
Query the widget with `id(ID) for its `Value
- Parameters:
ID |
security setting identifier |
local XFrame (float f1, float f2, string S, term T) -> term
|
|
Frame with spacings
- Parameters:
f1 |
horizontal spacing |
f2 |
vertical spacing |
S |
frame label |
T |
frame contents |
- Return value:
local checkMinMax (string minID, string maxID) -> boolean
|
|
Check if minimum is less than maximum in the widget
- Parameters:
minID |
ID os the minimum widget |
maxID |
ID os the maximum widget |
- Return value:
local ReallyAbort () -> boolean
|
|
If modified, ask for confirmation
- Return value:
|
true if abort is confirmed |
|