YaST2 Developers Documentation: Configuration of power-management



functions
files
intro

Configuration of power-management

include/power-management/complex.ycp
Dialogs definitions

Imports

  • Label
  • Popup
  • PowerManagement
  • Wizard
  • Wizard_hw

Includes

  • power-management/helps.ycp

Local Functions

local BatteryWarningInit (string key) -> void

Init function of a widget

Parameters:
key string widget id

local BatteryWarningStore (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 getBatteryWarning () -> map

Get description map of a widget

Return value:
widget description map

local AcpiButtonsInit (string key) -> void

Init function of a widget

Parameters:
key string widget id

local AcpiButtonsStore (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 getAcpiButtonsWidget () -> map

Get description map of a widget

Return value:
widget description map

local BatteryWarningHandle (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 getBatteryWarningButton () -> map

Get description map of a widget

Return value:
widget description map

local AcpiSettingsButtonHandle (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 getAcpiSettingsButton () -> map

Get description map of a widget

Return value:
widget description map

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

Get description map of a widget

Return value:
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

Get description map of a widget

Return value:
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

Get description map of a widget

Return value:
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

Get description map of a widget

Return value:
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

Get description map of a widget

Return value:
widget description map

local CoolingPolicyInit (string key) -> void

Init function of a widget

Parameters:
key string widget id

local CoolingPolicyStore (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 getCoolingPolicyWidget () -> map

Get description map of a widget

Return value:
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

local getCpuWidget () -> map

Get description map of a widget

Return value:
widget description map

YaST2 Developers Documentation