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

Includes

  • power-management/helps.ycp
  • power-management/misc.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<string,any>

Get description map of a widget

Return value:
a map 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<string,any>

Get description map of a widget

Return value:
a map widget description map

local EnableSTDInit (string key) -> void

Init function of a widget

Parameters:
key string widget id

local EnableSTDStore (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 getEnableSTDWidget () -> map<string,any>

Get description map of a widget

Return value:
a map widget description map

local EnableSTRInit (string key) -> void

Init function of a widget

Parameters:
key string widget id

local EnableSTRStore (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 EnableSTRHandle (string key, map event) -> symbol

Handle function of a widget

Parameters:
key string widget id
event map event that will be handled
Return value:
always nil

local getEnableSTRWidget () -> map<string,any>

Get description map of a widget

Return value:
a map widget description map

local getStrStandbyAdditionalHelp () -> map<string,any>

Get description map of a widget

Return value:
a map widget description map

local EnableStandbyInit (string key) -> void

Init function of a widget

Parameters:
key string widget id

local EnableStandbyStore (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 EnableStandbyHandle (string key, map event) -> symbol

Handle function of a widget

Parameters:
key string widget id
event map event that will be handled
Return value:
always nil

local getEnableStandbyWidget () -> map<string,any>

Get description map of a widget

Return value:
a map 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<string,any>

Get description map of a widget

Return value:
a map 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<string,any>

Get description map of a widget

Return value:
a map widget description map

local EnableSuspendButtonHandle (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 getEnableSuspendButton () -> map<string,any>

Get description map of a widget

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

local getCpuWidget () -> map<string,any>

Get description map of a widget

Return value:
a map widget description map

local ScreensaverInit (string key) -> void

Init function of a widget

Parameters:
key string widget id

local ScreensaverStore (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 getScreensaverWidget () -> map<string,any>

Get description map of a widget

Return value:
a map widget description map

local DpmsHandle (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 DpmsInit (string key) -> void

Init function of a widget

Parameters:
key string widget id

local DpmsStore (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 getDpmsWidget () -> map<string,any>

Get description map of a widget

Return value:
a map widget description map

Info:

Handle function of a widget

Parameters:
event map event that will be handled
key string widget id
Return value:
for wizard sequencer

Info:

Init function of a widget

Parameters:
key string widget id

Info:

Store settings of a widget

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

Info:

Get description map of a widget

Return value:
a map widget description map

YaST2 Developers Documentation