YaST2 Developers Documentation: Configuration of sysconfig

Configuration of sysconfig

include/sysconfig/dialogs.ycp
Dialogs definitions

This module has an unstable interface.

Imports

  • Label
  • Popup
  • Sysconfig

Includes

  • sysconfig/helps.ycp
  • sysconfig/routines.ycp

Local Functions

local display_search_dialog () -> map

Display search dialog

Return value:
Search option values selected in the dialog
local display_variables_dialog (string header, string label, list table_content, string ok_label, string cancel_label, string checkboxlabel, boolean checkboxvalue) -> map<string, any>

Display dialog with selected variables

Parameters:
header Heading in the dialog
label Label in the dialog
table_content Table content list
ok_label OK button label
cancel_label Cancel button label
checkboxlabel Optional check box widget is displayed when size of checkboxlabel is greater than zero
checkboxvalue Check box value
Return value:
Selected variable, checkbox value (nil if it wasn't used), user input values
local powertweak_install_dialog () -> map

Display dialog - ask user to install powertweak packages

Return value:
User input and powertweak-extra package selection value
local add_new_variable () -> map

Display dialog for new variable. This dialog is used at autoinstalation config mode only - some packages may not be available at configure time, but they will be present at installation, so it is possible to change them even if they are not displayed.

Return value:
Map with keys "ui" (`ok or `cancel - user input), "name" (name of the new variable), "file" (location of variable) and "value" (value to write)