enigma2  2.6
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Components.MovieList.MovieList Class Reference
Inheritance diagram for Components.MovieList.MovieList:
Components.TemplatedMultiContentComponent.TemplatedMultiContentComponent Components.GUIComponent.GUIComponent

Public Member Functions

def __init__ (self, root, list_type=None, sort_type=None, descr_state=None)
 
def applySkin (self, desktop, parent)
 
def redrawList (self)
 
def connectSelChanged (self, fnc)
 
def disconnectSelChanged (self, fnc)
 
def selectionChanged (self)
 
def setListType (self, type)
 
def setDescriptionState (self, val)
 
def setSortType (self, type)
 
def buildMovieListEntry (self, serviceref, info, begin, len)
 
def moveToIndex (self, index)
 
def getCurrentIndex (self)
 
def getCurrentEvent (self)
 
def getCurrent (self)
 
def postWidgetCreate (self, instance)
 
def preWidgetRemove (self, instance)
 
def reload (self, root=None, filter_tags=None)
 
def removeService (self, service)
 
def __len__ (self)
 
def load (self, root, filter_tags)
 
def buildAlphaNumericSortKey (self, x)
 
def moveTo (self, serviceref)
 
def moveDown (self)
 
- Public Member Functions inherited from Components.TemplatedMultiContentComponent.TemplatedMultiContentComponent
def __init__ (self)
 
def getList (self)
 
def setList (self, lst)
 
def applyTemplate (self, additional_locals={})
 
def initContent (self)
 
def setTemplate (self, style="default", force=False)
 
- Public Member Functions inherited from Components.GUIComponent.GUIComponent
def execBegin (self)
 
def execEnd (self)
 
def onShow (self)
 
def onHide (self)
 
def destroy (self)
 
def move (self, x, y=None)
 
def resize (self, x, y=None)
 
def setZPosition (self, z)
 
def show (self)
 
def hide (self)
 
def getVisible (self)
 
def setVisible (self, visible)
 
def setPosition (self, x, y)
 
def getPosition (self)
 
def getSize (self)
 
def GUIcreate (self, parent)
 
def GUIdelete (self)
 
def createWidget (self, parent)
 

Public Attributes

 list
 
 descr_state
 
 sort_type
 
 tags
 
 onSelectionChanged
 
 list_type
 
 selectionChanged_conn
 
 serviceHandler
 
 root
 
- Public Attributes inherited from Components.TemplatedMultiContentComponent.TemplatedMultiContentComponent
 active_style
 
 selectionEnabled
 
 buildfunc
 
 l
 
 template
 
 scrollbarMode
 
- Public Attributes inherited from Components.GUIComponent.GUIComponent
 instance
 
 onVisibilityChange
 
 skinAttributes
 
 deprecationInfo
 
 width
 
 height
 

Static Public Attributes

int SORT_ALPHANUMERIC = 1
 
int SORT_RECORDED = 2
 
int LISTTYPE_ORIGINAL = 1
 
int LISTTYPE_COMPACT_DESCRIPTION = 2
 
int LISTTYPE_COMPACT = 3
 
int LISTTYPE_MINIMAL = 4
 
dictionary LIST_STYLES
 
int HIDE_DESCRIPTION = 1
 
int SHOW_DESCRIPTION = 2
 
 COMPONENT_ID = componentSizes.MOVIE_LIST
 
string default_template
 
 GUI_WIDGET = eListbox
 
- Static Public Attributes inherited from Components.TemplatedMultiContentComponent.TemplatedMultiContentComponent
string COMPONENT_ID = ""
 
string default_template = ""
 

Additional Inherited Members

- Properties inherited from Components.TemplatedMultiContentComponent.TemplatedMultiContentComponent
 list = property(getList, setList)
 
- Properties inherited from Components.GUIComponent.GUIComponent
 visible = property(getVisible, setVisible)
 
 position = property(getPosition, setPosition)
 

Constructor & Destructor Documentation

◆ __init__()

def Components.MovieList.MovieList.__init__ (   self,
  root,
  list_type = None,
  sort_type = None,
  descr_state = None 
)

Member Function Documentation

◆ __len__()

def Components.MovieList.MovieList.__len__ (   self)

◆ applySkin()

def Components.MovieList.MovieList.applySkin (   self,
  desktop,
  parent 
)

◆ buildAlphaNumericSortKey()

def Components.MovieList.MovieList.buildAlphaNumericSortKey (   self,
  x 
)

◆ buildMovieListEntry()

def Components.MovieList.MovieList.buildMovieListEntry (   self,
  serviceref,
  info,
  begin,
  len 
)

◆ connectSelChanged()

def Components.MovieList.MovieList.connectSelChanged (   self,
  fnc 
)

◆ disconnectSelChanged()

def Components.MovieList.MovieList.disconnectSelChanged (   self,
  fnc 
)

◆ getCurrent()

def Components.MovieList.MovieList.getCurrent (   self)

◆ getCurrentEvent()

def Components.MovieList.MovieList.getCurrentEvent (   self)

◆ getCurrentIndex()

def Components.MovieList.MovieList.getCurrentIndex (   self)

◆ load()

def Components.MovieList.MovieList.load (   self,
  root,
  filter_tags 
)

◆ moveDown()

def Components.MovieList.MovieList.moveDown (   self)

◆ moveTo()

def Components.MovieList.MovieList.moveTo (   self,
  serviceref 
)

◆ moveToIndex()

def Components.MovieList.MovieList.moveToIndex (   self,
  index 
)

◆ postWidgetCreate()

def Components.MovieList.MovieList.postWidgetCreate (   self,
  instance 
)

◆ preWidgetRemove()

def Components.MovieList.MovieList.preWidgetRemove (   self,
  instance 
)

◆ redrawList()

def Components.MovieList.MovieList.redrawList (   self)

◆ reload()

def Components.MovieList.MovieList.reload (   self,
  root = None,
  filter_tags = None 
)

◆ removeService()

def Components.MovieList.MovieList.removeService (   self,
  service 
)

◆ selectionChanged()

def Components.MovieList.MovieList.selectionChanged (   self)

◆ setDescriptionState()

def Components.MovieList.MovieList.setDescriptionState (   self,
  val 
)

◆ setListType()

def Components.MovieList.MovieList.setListType (   self,
  type 
)

◆ setSortType()

def Components.MovieList.MovieList.setSortType (   self,
  type 
)

Member Data Documentation

◆ COMPONENT_ID

Components.MovieList.MovieList.COMPONENT_ID = componentSizes.MOVIE_LIST
static

◆ default_template

string Components.MovieList.MovieList.default_template
static

◆ descr_state

Components.MovieList.MovieList.descr_state

◆ GUI_WIDGET

Components.MovieList.MovieList.GUI_WIDGET = eListbox
static

◆ HIDE_DESCRIPTION

int Components.MovieList.MovieList.HIDE_DESCRIPTION = 1
static

◆ list

Components.MovieList.MovieList.list

◆ LIST_STYLES

dictionary Components.MovieList.MovieList.LIST_STYLES
static
Initial value:
= {
LISTTYPE_ORIGINAL : "default",
LISTTYPE_COMPACT_DESCRIPTION : "compact_description",
LISTTYPE_COMPACT : "compact",
LISTTYPE_MINIMAL : "minimal"
}

◆ list_type

Components.MovieList.MovieList.list_type

◆ LISTTYPE_COMPACT

int Components.MovieList.MovieList.LISTTYPE_COMPACT = 3
static

◆ LISTTYPE_COMPACT_DESCRIPTION

int Components.MovieList.MovieList.LISTTYPE_COMPACT_DESCRIPTION = 2
static

◆ LISTTYPE_MINIMAL

int Components.MovieList.MovieList.LISTTYPE_MINIMAL = 4
static

◆ LISTTYPE_ORIGINAL

int Components.MovieList.MovieList.LISTTYPE_ORIGINAL = 1
static

◆ onSelectionChanged

Components.MovieList.MovieList.onSelectionChanged

◆ root

Components.MovieList.MovieList.root

◆ selectionChanged_conn

Components.MovieList.MovieList.selectionChanged_conn

◆ serviceHandler

Components.MovieList.MovieList.serviceHandler

◆ SHOW_DESCRIPTION

int Components.MovieList.MovieList.SHOW_DESCRIPTION = 2
static

◆ SORT_ALPHANUMERIC

int Components.MovieList.MovieList.SORT_ALPHANUMERIC = 1
static

◆ SORT_RECORDED

int Components.MovieList.MovieList.SORT_RECORDED = 2
static

◆ sort_type

Components.MovieList.MovieList.sort_type

◆ tags

Components.MovieList.MovieList.tags

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