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

Public Member Functions

def __init__ (self, min, max, stepwidth, default=None, wraparound=False)
 
def getValue (self)
 
def setValue (self, val)
 
def handleKey (self, key)
 
- Public Member Functions inherited from Components.config.ConfigSelection
def __init__ (self, choices, default=None)
 
def setChoices (self, choices, default=None)
 
def getChoices (self)
 
def tostring (self, val)
 
def setCurrentText (self, text)
 
def getIndex (self)
 
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

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

Additional Inherited Members

- Properties inherited from Components.config.ConfigSelection
 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.ConfigSelectionNumber.__init__ (   self,
  min,
  max,
  stepwidth,
  default = None,
  wraparound = False 
)

Member Function Documentation

◆ getValue()

def Components.config.ConfigSelectionNumber.getValue (   self)

Reimplemented from Components.config.ConfigSelection.

◆ handleKey()

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

Reimplemented from Components.config.ConfigSelection.

◆ setValue()

def Components.config.ConfigSelectionNumber.setValue (   self,
  val 
)

Reimplemented from Components.config.ConfigSelection.

Member Data Documentation

◆ wraparound

Components.config.ConfigSelectionNumber.wraparound

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