YaST2 Developers Documentation: Configuration of power-management

Configuration of power-management

include/power-management/complex.ycp
Dialogs definitions
  • Jiri Srain

This module has an unstable interface.

Imports

  • Label
  • Popup
  • PowerManagement
  • String

Includes

  • power-management/helps.ycp

Local Functions

local SchemeSelectionHandle (string key, map event) -> symbol

Handle function of a widget

Parameters:
key string widget id
event map event that will be handled
Return value:
for wizard sequencer
local SchemeSelectionInit (string key) -> void

Init function of a widget

Parameters:
key string widget id
local SchemeSelectionStore (string key, map event) -> void

Store settings of a widget

Parameters:
key string widget id
event map event that caused storing of widget settings
local getSchemeSelectionWidget () -> map<string,any>

Get description map of a widget

Return value:
a map widget description map
local SchemesRedraw () -> void

Redraw the table of energy saving schemes

local SchemesHandle (string key, map event) -> symbol

Handle function of a widget

Parameters:
key string widget id
event map event that will be handled
Return value:
for wizard sequencer
local SchemesInit (string key) -> void

Init function of a widget

Parameters:
key string widget id
local getSchemesListWidget () -> map<string,any>

Get description map of a widget

Return value:
a map widget description map
local SchemeNameInit (string key) -> void

Init function of a widget

Parameters:
key string widget id
local SchemeNameValidate (string key, map event) -> boolean

Validate function of a widget

Parameters:
key string widget id
event map event that caused widget validation
Return value:
true if validation succeeded
local SchemeNameStore (string key, map event) -> void

Store settings of a widget

Parameters:
key string widget id
event map event that caused storing of widget settings
local getSchemeNameWidget () -> map<string,any>

Get description map of a widget

Return value:
a map widget description map
local SchemeDescrInit (string key) -> void

Init function of a widget

Parameters:
key string widget id
local SchemeDescrStore (string key, map event) -> void

Store settings of a widget

Parameters:
key string widget id
event map event that caused storing of widget settings
local getSchemeDescrWidget () -> map<string,any>

Get description map of a widget

Return value:
a map widget description map
local HardDiskInit (string key) -> void

Init function of a widget

Parameters:
key string widget id
local HardDiskStore (string key, map event) -> void

Store settings of a widget

Parameters:
key string widget id
event map event that caused storing of widget settings
local getHardDiskWidget () -> map<string,any>

Get description map of a widget

Return value:
a map widget description map
local CpuHandle (string key, map event) -> symbol

Handle function of a widget

Parameters:
key string widget id
event map event that will be handled
Return value:
for wizard sequencer
local CpuInit (string key) -> void

Init function of a widget

Parameters:
key string widget id
local CpuStore (string key, map event) -> void

Store settings of a widget

Parameters:
key string widget id
event map event that caused storing of widget settings