enigma2  2.6
Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
Components.Sources.List.List Class Reference
Inheritance diagram for Components.Sources.List.List:
Components.Sources.Source.Source Components.Element.AnimatedElement Components.Element.Element Components.PluginList.PluginList Plugins.Extensions.MediaCenter.Playlist.Playlist Plugins.Extensions.MediaCenter.DatabasePlaylist.DatabasePlaylist

Public Member Functions

def __init__ (self, list=[], enableWrapAround=False, item_height=25, fonts=[], buildfunc=None)
 
def setList (self, list)
 
def entry_changed (self, index)
 
def modifyEntry (self, index, data)
 
def count (self)
 
def selectionChanged (self, index)
 
def getCurrent (self)
 
def setIndex (self, index)
 
def getIndex (self)
 
def selectNext (self)
 
def selectPrevious (self)
 
def moveSelection (self, direction)
 
def pageUp (self)
 
def pageDown (self)
 
def getStyle (self)
 
def setStyle (self, style)
 
def getBuildFunc (self)
 
def setBuildFunc (self, buildfunc)
 
def setSelectionEnabled (self, enabled)
 
def setMode (self, mode, emitChange=True)
 
def setMargin (self, margin, emitChange=True)
 
def setSelectionZoom (self, zoom, emitChange=True)
 
def currentPage (self)
 
def totalPages (self)
 
def itemWidth (self)
 
def itemHeight (self)
 
def hide (self)
 
def show (self)
 
def updateList (self, list)
 
- Public Member Functions inherited from Components.Sources.Source.Source
def execBegin (self)
 
def execEnd (self)
 
def onShow (self)
 
def onHide (self)
 
def destroy (self)
 
- Public Member Functions inherited from Components.Element.AnimatedElement
def __init__ (self)
 
def isAnimated (self)
 
def setAnimated (self, isAnimated)
 
- Public Member Functions inherited from Components.Element.Element
def connectDownstream (self, downstream)
 
def connectUpstream (self, upstream)
 
def connect (self, upstream)
 
def disconnectAll (self)
 
def disconnectDownstream (self, downstream)
 
def changed (self, *args, **kwargs)
 
def setSuspend (self, suspended)
 
def checkSuspend (self)
 
def doSuspend (self, suspend)
 

Public Attributes

 onSelectionChanged
 
 item_height
 
 fonts
 
 disable_callbacks
 
 enableWrapAround
 
- Public Attributes inherited from Components.Element.Element
 downstream_elements
 
 master
 
 sources
 
 source
 
 cache
 

Static Public Attributes

def setCurrentIndex = setIndex
 
- Static Public Attributes inherited from Components.Element.Element
int CHANGED_DEFAULT = 0
 
int CHANGED_ALL = 1
 
int CHANGED_CLEAR = 2
 
int CHANGED_SPECIFIC = 3
 
int CHANGED_POLL = 4
 
int CHANGED_PULSATE = 5
 
int CHANGED_ANIMATED = 6
 
bool SINGLE_SOURCE = True
 

Properties

 list = property(lambda self: self.__list, setList)
 
 current = property(getCurrent)
 
 index = property(getIndex, setIndex)
 
 style = property(getStyle, setStyle)
 
 buildfunc = property(getBuildFunc, setBuildFunc)
 
 selection_enabled = property(lambda self: self.__selection_enabled, setSelectionEnabled)
 
 mode = property(lambda self: self.__mode, setMode)
 
 margin = property(lambda self: self.__margin, setMargin)
 
 selectionZoom = property(lambda self: self.__selectionZoom, setSelectionZoom)
 
- Properties inherited from Components.Element.AnimatedElement
 isAnimated = property(isAnimated, setAnimated)
 
- Properties inherited from Components.Element.Element
 suspended = property(lambda self: self.__suspended, setSuspend)
 

Detailed Description

The datasource of a listbox. Currently, the format depends on the used converter. So
if you put a simple string list in here, you need to use a StringList converter, if you are
using a "multi content list styled"-list, you need to use the StaticMultiList converter, and
setup the "fonts". 

This has been done so another converter could convert the list to a different format, for example
to generate HTML.

Constructor & Destructor Documentation

◆ __init__()

def Components.Sources.List.List.__init__ (   self,
  list = [ ],
  enableWrapAround = False,
  item_height = 25,
  fonts = [ ],
  buildfunc = None 
)

Member Function Documentation

◆ count()

def Components.Sources.List.List.count (   self)

◆ currentPage()

def Components.Sources.List.List.currentPage (   self)

◆ entry_changed()

def Components.Sources.List.List.entry_changed (   self,
  index 
)

◆ getBuildFunc()

def Components.Sources.List.List.getBuildFunc (   self)

◆ getCurrent()

def Components.Sources.List.List.getCurrent (   self)

◆ getIndex()

def Components.Sources.List.List.getIndex (   self)

◆ getStyle()

def Components.Sources.List.List.getStyle (   self)

◆ hide()

def Components.Sources.List.List.hide (   self)

◆ itemHeight()

def Components.Sources.List.List.itemHeight (   self)

◆ itemWidth()

def Components.Sources.List.List.itemWidth (   self)

◆ modifyEntry()

def Components.Sources.List.List.modifyEntry (   self,
  index,
  data 
)

◆ moveSelection()

def Components.Sources.List.List.moveSelection (   self,
  direction 
)

◆ pageDown()

def Components.Sources.List.List.pageDown (   self)

◆ pageUp()

def Components.Sources.List.List.pageUp (   self)

◆ selectionChanged()

def Components.Sources.List.List.selectionChanged (   self,
  index 
)

◆ selectNext()

def Components.Sources.List.List.selectNext (   self)

◆ selectPrevious()

def Components.Sources.List.List.selectPrevious (   self)

◆ setBuildFunc()

def Components.Sources.List.List.setBuildFunc (   self,
  buildfunc 
)

◆ setIndex()

def Components.Sources.List.List.setIndex (   self,
  index 
)

◆ setList()

def Components.Sources.List.List.setList (   self,
  list 
)

◆ setMargin()

def Components.Sources.List.List.setMargin (   self,
  margin,
  emitChange = True 
)

◆ setMode()

def Components.Sources.List.List.setMode (   self,
  mode,
  emitChange = True 
)

◆ setSelectionEnabled()

def Components.Sources.List.List.setSelectionEnabled (   self,
  enabled 
)

◆ setSelectionZoom()

def Components.Sources.List.List.setSelectionZoom (   self,
  zoom,
  emitChange = True 
)

◆ setStyle()

def Components.Sources.List.List.setStyle (   self,
  style 
)

◆ show()

def Components.Sources.List.List.show (   self)

◆ totalPages()

def Components.Sources.List.List.totalPages (   self)

◆ updateList()

def Components.Sources.List.List.updateList (   self,
  list 
)
Changes the list without changing the selection or emitting changed Events

Member Data Documentation

◆ disable_callbacks

Components.Sources.List.List.disable_callbacks

◆ enableWrapAround

Components.Sources.List.List.enableWrapAround

◆ fonts

Components.Sources.List.List.fonts

◆ item_height

Components.Sources.List.List.item_height

◆ onSelectionChanged

Components.Sources.List.List.onSelectionChanged

◆ setCurrentIndex

def Components.Sources.List.List.setCurrentIndex = setIndex
static

Property Documentation

◆ buildfunc

Components.Sources.List.List.buildfunc = property(getBuildFunc, setBuildFunc)
static

◆ current

Components.Sources.List.List.current = property(getCurrent)
static

◆ index

Components.Sources.List.List.index = property(getIndex, setIndex)
static

◆ list

Components.Sources.List.List.list = property(lambda self: self.__list, setList)
static

◆ margin

Components.Sources.List.List.margin = property(lambda self: self.__margin, setMargin)
static

◆ mode

Components.Sources.List.List.mode = property(lambda self: self.__mode, setMode)
static

◆ selection_enabled

Components.Sources.List.List.selection_enabled = property(lambda self: self.__selection_enabled, setSelectionEnabled)
static

◆ selectionZoom

Components.Sources.List.List.selectionZoom = property(lambda self: self.__selectionZoom, setSelectionZoom)
static

◆ style

Components.Sources.List.List.style = property(getStyle, setStyle)
static

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