YaST2 Developers Documentation: Unknown YCP Module

Unknown YCP Module

This module has an unstable interface.

Complex functions for dialogs handling

Imports

  • Confirm
  • Label
  • Popup
  • Report
  • Sshd
  • Wizard
  • Wizard_hw

Includes

  • sshd/helps.ycp

Local Functions

local ReadDialog () -> symbol

Read settings dialog

Return value:
`abort if aborted and `next otherwise
local WriteDialog () -> symbol

Write settings dialog

Return value:
`abort if aborted and `next otherwise
local InitPortsTable () -> void

Initializes the table of ports

local DeletePort (string port) -> void

Removes the port from list of current ports

Parameters:
port
local AddEditPortDialog (string current_port) -> void

Function handles the adding or editing port number. When the current_port is not 'nil', the dialog will allow to edit it.

Parameters:
current_port
local HandleServerConfigurationDialog (string id, map event) -> symbol

Function handles Add, Edit and Delete buttons

Parameters:
id
event
local StoreServerConfigurationDialog (string id, map event) -> void

Stores the current configuration from Server Configuration Dialog

Parameters:
id
event
local StoreLoginSettingsDialog (string id, map event) -> void

Stores the current configuration from Login Settings Dialog

Parameters:
id
event