| YaST2 Developers Documentation: Configuration of mail | ![]() |
![]() functions files intro |
A generic handler for editing tables. The current item of table_widget makeItems (new_data, keys) is used to fill table_widget
Evaluate a function pointer, working around interpreter limitations
Constructs a widget term. Uses a global Widgets map. Keys are symbols (ids), values are Structure widget_def
`foo: $[
"widget": `TextEntry (),
"opt": `opt (`notify), // optional
"label": "&Foo",
// if there are choices, they are used to construct the widget,
// otherwise get is used
"choices": Choices_foo // list ()
"help": _("<p>Foo!</p>"), // used by WJ_MakeHelp, optional
"get": Get_foo, // gets value from module to widget
"set": Set_foo, // sets value from widget to module
// popups an error and returns false if invalid
"validate": ``(Validate_foo ()),// optional
],
Changes widget value using "get" (useful for widgets with choices). Uses a global Widgets map. widget_def
Make a help string by concatenating individual widget helps and other strings. Uses a global Widgets map. widget_def
A helper for WJ_Validate.
Call the validation functions for a list of widgets. Widgets with an unspecified function are assumed to be valid. Uses a global Widgets map. widget_def
Call the "set" functions for a list of widgets to commit the UI values to a module. Uses a global Widgets map. widget_def
Make a RadioButtonGroup containing Left aligned widgets in a VBox that has VSpacing (0.2) as top/bottom padding.
|
| YaST2 Developers Documentation | ![]() |