enigma2  2.6
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Components.config.ConfigBoolean Class Reference
Inheritance diagram for Components.config.ConfigBoolean:
Components.config.ConfigElement Components.config.ConfigOnOff Components.config.ConfigYesNo Components.config.ConfigEnableDisable

Public Member Functions

def __init__ (self, default=False, descriptions=boolean_descriptions)
 
def handleKey (self, key)
 
def getText (self)
 
def getMulti (self, selected)
 
def tostring (self, value)
 
def fromstring (self, val)
 
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 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)
 
def onSelect (self, session)
 
def onDeselect (self, session)
 

Static Public Member Functions

def setOnOffPixmaps (onPixmap, offPixmap)
 

Public Attributes

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

Additional Inherited Members

- 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.ConfigBoolean.__init__ (   self,
  default = False,
  descriptions = boolean_descriptions 
)

Member Function Documentation

◆ fromstring()

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

Reimplemented from Components.config.ConfigElement.

◆ getHTML()

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

◆ getMulti()

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

◆ getText()

def Components.config.ConfigBoolean.getText (   self)

◆ handleKey()

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

◆ setOnOffPixmaps()

def Components.config.ConfigBoolean.setOnOffPixmaps (   onPixmap,
  offPixmap 
)
static

◆ tostring()

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

Reimplemented from Components.config.ConfigElement.

◆ unsafeAssign()

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

Member Data Documentation

◆ default

Components.config.ConfigBoolean.default

◆ descriptions

Components.config.ConfigBoolean.descriptions

◆ value

Components.config.ConfigBoolean.value

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