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

Public Member Functions

def __init__ (self, choices, default=None)
 
def setChoices (self, choices, default=None)
 
def getChoices (self)
 
def setValue (self, value)
 
def tostring (self, val)
 
def getValue (self)
 
def setCurrentText (self, text)
 
def getIndex (self)
 
def handleKey (self, key)
 
def selectNext (self)
 
def getText (self)
 
def getMulti (self, selected)
 
def getHTML (self, id)
 
def unsafeAssign (self, value)
 
- 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 fromstring (self, value)
 
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)
 
def onSelect (self, session)
 
def onDeselect (self, session)
 

Public Attributes

 choices
 
 default
 
- Public Attributes inherited from Components.config.ConfigElement
 saved_value
 
 save_forced
 
 save_disabled
 
 enabled
 
 key
 

Properties

 value = property(getValue, setValue)
 
 index = property(getIndex)
 
 description = property(lambda self: descriptionList(self.choices.choices, self.choices.type))
 
- 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.ConfigSelection.__init__ (   self,
  choices,
  default = None 
)

Member Function Documentation

◆ getChoices()

def Components.config.ConfigSelection.getChoices (   self)

◆ getHTML()

def Components.config.ConfigSelection.getHTML (   self,
  id 
)

◆ getIndex()

def Components.config.ConfigSelection.getIndex (   self)

◆ getMulti()

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

◆ getText()

def Components.config.ConfigSelection.getText (   self)

◆ getValue()

def Components.config.ConfigSelection.getValue (   self)

◆ handleKey()

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

◆ selectNext()

def Components.config.ConfigSelection.selectNext (   self)

◆ setChoices()

def Components.config.ConfigSelection.setChoices (   self,
  choices,
  default = None 
)

◆ setCurrentText()

def Components.config.ConfigSelection.setCurrentText (   self,
  text 
)

◆ setValue()

def Components.config.ConfigSelection.setValue (   self,
  value 
)

◆ tostring()

def Components.config.ConfigSelection.tostring (   self,
  val 
)

Reimplemented from Components.config.ConfigElement.

◆ unsafeAssign()

def Components.config.ConfigSelection.unsafeAssign (   self,
  value 
)

Member Data Documentation

◆ choices

Components.config.ConfigSelection.choices

◆ default

Components.config.ConfigSelection.default

Property Documentation

◆ description

Components.config.ConfigSelection.description = property(lambda self: descriptionList(self.choices.choices, self.choices.type))
static

◆ index

Components.config.ConfigSelection.index = property(getIndex)
static

◆ value

Components.config.ConfigSelection.value = property(getValue, setValue)
static

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