enigma2  2.6
Public Member Functions | Public Attributes | Properties | List of all members
Components.config.ConfigSet Class Reference
Inheritance diagram for Components.config.ConfigSet:
Components.config.ConfigElement

Public Member Functions

def __init__ (self, choices, default=[], resort=True)
 
def toggleChoice (self, choice)
 
def handleKey (self, key)
 
def genString (self, lst)
 
def getText (self)
 
def getMulti (self, selected)
 
def onSelect (self, session)
 
def onDeselect (self, session)
 
def tostring (self, value)
 
def fromstring (self, val)
 
- Public Member Functions inherited from Components.config.ConfigElement
def __init__ (self)
 
def getNotifiers (self)
 
def setNotifiers (self, val)
 
def getNotifiersFinal (self)
 
def setNotifiersFinal (self, val)
 
def setValue (self, value)
 
def getValue (self)
 
def load (self)
 
def save (self)
 
def cancel (self)
 
def isChanged (self)
 
def changed (self, save_or_cancel=False)
 
def changedFinal (self, save_or_cancel=False)
 
def addNotifier (self, notifier, initial_call=True, immediate_feedback=True, call_on_save_or_cancel=False)
 
def removeNotifier (self, notifier)
 
def clearNotifiers (self)
 
def disableSave (self)
 
def __call__ (self, selected)
 

Public Attributes

 resort
 
 choices
 
 pos
 
 default
 
 help_window
 
 value
 
 onSelectedIndexChanged
 
- Public Attributes inherited from Components.config.ConfigElement
 saved_value
 
 save_forced
 
 save_disabled
 
 enabled
 
 key
 

Properties

 description = property(lambda self: descriptionList(self.choices.choices, choicesList.LIST_TYPE_LIST))
 
- Properties inherited from Components.config.ConfigElement
 notifiers = property(getNotifiers, setNotifiers)
 
 notifiers_final = property(getNotifiersFinal, setNotifiersFinal)
 
 value = property(getValue, setValue)
 

Constructor & Destructor Documentation

◆ __init__()

def Components.config.ConfigSet.__init__ (   self,
  choices,
  default = [],
  resort = True 
)

Member Function Documentation

◆ fromstring()

def Components.config.ConfigSet.fromstring (   self,
  val 
)

Reimplemented from Components.config.ConfigElement.

◆ genString()

def Components.config.ConfigSet.genString (   self,
  lst 
)

◆ getMulti()

def Components.config.ConfigSet.getMulti (   self,
  selected 
)

◆ getText()

def Components.config.ConfigSet.getText (   self)

◆ handleKey()

def Components.config.ConfigSet.handleKey (   self,
  key 
)

◆ onDeselect()

def Components.config.ConfigSet.onDeselect (   self,
  session 
)

Reimplemented from Components.config.ConfigElement.

◆ onSelect()

def Components.config.ConfigSet.onSelect (   self,
  session 
)

Reimplemented from Components.config.ConfigElement.

◆ toggleChoice()

def Components.config.ConfigSet.toggleChoice (   self,
  choice 
)

◆ tostring()

def Components.config.ConfigSet.tostring (   self,
  value 
)

Reimplemented from Components.config.ConfigElement.

Member Data Documentation

◆ choices

Components.config.ConfigSet.choices

◆ default

Components.config.ConfigSet.default

◆ help_window

Components.config.ConfigSet.help_window

◆ onSelectedIndexChanged

Components.config.ConfigSet.onSelectedIndexChanged

◆ pos

Components.config.ConfigSet.pos

◆ resort

Components.config.ConfigSet.resort

◆ value

Components.config.ConfigSet.value

Property Documentation

◆ description

Components.config.ConfigSet.description = property(lambda self: descriptionList(self.choices.choices, choicesList.LIST_TYPE_LIST))
static

The documentation for this class was generated from the following file: