enigma2  2.6
Classes | Functions | Variables
Components.config Namespace Reference

Classes

class  choicesList
 
class  Config
 
class  ConfigBoolean
 
class  ConfigClock
 
class  ConfigDateTime
 
class  ConfigDirectory
 
class  ConfigElement
 
class  ConfigEnableDisable
 
class  ConfigFile
 
class  ConfigFloat
 
class  ConfigHexSequence
 
class  ConfigInteger
 
class  ConfigIP
 
class  ConfigIP6
 
class  ConfigLocations
 
class  ConfigMAC
 
class  ConfigNothing
 
class  ConfigNumber
 
class  ConfigOnOff
 
class  ConfigPassword
 
class  ConfigPIN
 
class  ConfigPosition
 
class  ConfigSatlist
 
class  ConfigSearchText
 
class  ConfigSelection
 
class  ConfigSelectionNumber
 
class  ConfigSequence
 
class  ConfigSet
 
class  ConfigSlider
 
class  ConfigSubDict
 
class  ConfigSubList
 
class  ConfigSubsection
 
class  ConfigSubsectionContent
 
class  ConfigText
 
class  ConfigTextBase
 
class  ConfigYesNo
 
class  descriptionList
 

Functions

def getKeyNumber (key)
 
def NoSave (element)
 
def getConfigListEntry (*args)
 
def updateConfigElement (element, newelement)
 

Variables

int KEY_LEFT = 0
 
int KEY_RIGHT = 1
 
int KEY_OK = 2
 
int KEY_DELETE = 3
 
int KEY_BACKSPACE = 4
 
int KEY_HOME = 5
 
int KEY_END = 6
 
int KEY_TOGGLEOW = 7
 
int KEY_ASCII = 8
 
int KEY_TIMEOUT = 9
 
 KEY_NUMBERS = list(range(12, 12+10))
 
int KEY_0 = 12
 
int KEY_9 = 12+9
 
dictionary boolean_descriptions = {False: "false", True: "true"}
 
dictionary yes_no_descriptions = {False: _("no"), True: _("yes")}
 
dictionary on_off_descriptions = {False: _("off"), True: _("on")}
 
list ip_limits = [(0,255),(0,255),(0,255),(0,255)]
 
list mac_limits = [(1,255),(1,255),(1,255),(1,255),(1,255),(1,255)]
 
list clock_limits = [(0,23),(0,59)]
 
tuple integer_limits = (0, 9999999999)
 
 config = Config()
 
 misc
 
 configfile = ConfigFile()
 

Function Documentation

◆ getConfigListEntry()

def Components.config.getConfigListEntry ( args)

◆ getKeyNumber()

def Components.config.getKeyNumber (   key)

◆ NoSave()

def Components.config.NoSave (   element)

◆ updateConfigElement()

def Components.config.updateConfigElement (   element,
  newelement 
)

Variable Documentation

◆ boolean_descriptions

dictionary Components.config.boolean_descriptions = {False: "false", True: "true"}

◆ clock_limits

list Components.config.clock_limits = [(0,23),(0,59)]

◆ config

Components.config.config = Config()

◆ configfile

Components.config.configfile = ConfigFile()

◆ integer_limits

tuple Components.config.integer_limits = (0, 9999999999)

◆ ip_limits

list Components.config.ip_limits = [(0,255),(0,255),(0,255),(0,255)]

◆ KEY_0

int Components.config.KEY_0 = 12

◆ KEY_9

int Components.config.KEY_9 = 12+9

◆ KEY_ASCII

int Components.config.KEY_ASCII = 8

◆ KEY_BACKSPACE

int Components.config.KEY_BACKSPACE = 4

◆ KEY_DELETE

int Components.config.KEY_DELETE = 3

◆ KEY_END

int Components.config.KEY_END = 6

◆ KEY_HOME

int Components.config.KEY_HOME = 5

◆ KEY_LEFT

int Components.config.KEY_LEFT = 0

◆ KEY_NUMBERS

Components.config.KEY_NUMBERS = list(range(12, 12+10))

◆ KEY_OK

int Components.config.KEY_OK = 2

◆ KEY_RIGHT

int Components.config.KEY_RIGHT = 1

◆ KEY_TIMEOUT

int Components.config.KEY_TIMEOUT = 9

◆ KEY_TOGGLEOW

int Components.config.KEY_TOGGLEOW = 7

◆ mac_limits

list Components.config.mac_limits = [(1,255),(1,255),(1,255),(1,255),(1,255),(1,255)]

◆ misc

Components.config.misc

◆ on_off_descriptions

dictionary Components.config.on_off_descriptions = {False: _("off"), True: _("on")}

◆ yes_no_descriptions

dictionary Components.config.yes_no_descriptions = {False: _("no"), True: _("yes")}