enigma2
2.6
|
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) | |
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.
def Components.Sources.List.List.__init__ | ( | self, | |
list = [ ] , |
|||
enableWrapAround = False , |
|||
item_height = 25 , |
|||
fonts = [ ] , |
|||
buildfunc = None |
|||
) |
Reimplemented in Plugins.Extensions.MediaCenter.DatabasePlaylist.DatabasePlaylist.
def Components.Sources.List.List.count | ( | self | ) |
def Components.Sources.List.List.currentPage | ( | self | ) |
def Components.Sources.List.List.entry_changed | ( | self, | |
index | |||
) |
def Components.Sources.List.List.getBuildFunc | ( | self | ) |
def Components.Sources.List.List.getCurrent | ( | self | ) |
def Components.Sources.List.List.getIndex | ( | self | ) |
def Components.Sources.List.List.getStyle | ( | self | ) |
def Components.Sources.List.List.hide | ( | self | ) |
def Components.Sources.List.List.itemHeight | ( | self | ) |
def Components.Sources.List.List.itemWidth | ( | self | ) |
def Components.Sources.List.List.modifyEntry | ( | self, | |
index, | |||
data | |||
) |
Reimplemented in Plugins.Extensions.MediaCenter.Playlist.Playlist.
def Components.Sources.List.List.moveSelection | ( | self, | |
direction | |||
) |
def Components.Sources.List.List.pageDown | ( | self | ) |
def Components.Sources.List.List.pageUp | ( | self | ) |
def Components.Sources.List.List.selectionChanged | ( | self, | |
index | |||
) |
def Components.Sources.List.List.selectNext | ( | self | ) |
def Components.Sources.List.List.selectPrevious | ( | self | ) |
def Components.Sources.List.List.setBuildFunc | ( | self, | |
buildfunc | |||
) |
def Components.Sources.List.List.setIndex | ( | self, | |
index | |||
) |
def Components.Sources.List.List.setList | ( | self, | |
list | |||
) |
def Components.Sources.List.List.setMargin | ( | self, | |
margin, | |||
emitChange = True |
|||
) |
def Components.Sources.List.List.setMode | ( | self, | |
mode, | |||
emitChange = True |
|||
) |
def Components.Sources.List.List.setSelectionEnabled | ( | self, | |
enabled | |||
) |
def Components.Sources.List.List.setSelectionZoom | ( | self, | |
zoom, | |||
emitChange = True |
|||
) |
def Components.Sources.List.List.setStyle | ( | self, | |
style | |||
) |
def Components.Sources.List.List.show | ( | self | ) |
def Components.Sources.List.List.totalPages | ( | self | ) |
def Components.Sources.List.List.updateList | ( | self, | |
list | |||
) |
Changes the list without changing the selection or emitting changed Events
Components.Sources.List.List.disable_callbacks |
Components.Sources.List.List.enableWrapAround |
Components.Sources.List.List.fonts |
Components.Sources.List.List.item_height |
Components.Sources.List.List.onSelectionChanged |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |