enigma2  2.6
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Plugins.Extensions.MediaCenter.plugin.MainMenu Class Reference
Inheritance diagram for Plugins.Extensions.MediaCenter.plugin.MainMenu:
Screens.Screen.Screen Components.GUISkin.GUISkin

Public Member Functions

def __init__ (self, session, type=None, playlist=None)
 
def menu (self)
 
def createSummary (self)
 
def runOnFirstExec (self)
 
def ok (self, playlist=None)
 
def up (self)
 
def down (self)
 
- Public Member Functions inherited from Screens.Screen.Screen
def saveKeyboardMode (self)
 
def setKeyboardModeAscii (self)
 
def setKeyboardModeNone (self)
 
def restoreKeyboardMode (self)
 
def execBegin (self)
 
def execEnd (self)
 
def doClose (self, immediate=True)
 
def doCloseInternal (self)
 
def close (self, *retval)
 
def setFocus (self, o)
 
def show (self)
 
def hide (self)
 
def enable (self, do_show=True)
 
def disable (self)
 
def isEnabled (self)
 
def __repr__ (self)
 
def getRelatedScreen (self, name)
 
def setShowHideAnimation (self, animation_key)
 
def neverAnimate (self)
 
def canAnimate (self)
 
def ignoreSource (self, name)
 
- Public Member Functions inherited from Components.GUISkin.GUISkin
def __init__ (self, windowTitle=None)
 
def createGUIScreen (self, parent, desktop, updateonly=False)
 
def deleteGUIScreen (self)
 
def close (self)
 
def addSummary (self, summary)
 
def removeSummary (self, summary)
 
def setTitle (self, title)
 
def getTitle (self)
 
def setDesktop (self, desktop)
 
def applySkin (self)
 
def setZPosition (self, z)
 

Public Attributes

 session
 
 list
 
 type
 
 playlist
 
- Public Attributes inherited from Screens.Screen.Screen
 skinName
 
 session
 
 parent
 
 onClose
 
 onFirstExecBegin
 
 onExecBegin
 
 onShown
 
 onShow
 
 onHide
 
 onExecEnd
 
 onHideFinished
 
 execing
 
 shown
 
 already_shown
 
 renderer
 
 helpList
 
 close_on_next_exec
 
 stand_alone
 
 keyboardMode
 
 active_components
 
 persisted_members
 
- Public Attributes inherited from Components.GUISkin.GUISkin
 onLayoutFinish
 
 summaries
 
 instance
 
 desktop
 
 scale
 

Static Public Attributes

 icon_path = resolveFilename(SCOPE_PLUGINS, "Extensions/MediaCenter/icons/")
 
string skin
 
- Static Public Attributes inherited from Screens.Screen.Screen
int SUSPEND_NONE = 0
 
int SUSPEND_STOPS = 1
 
int SUSPEND_PAUSES = 2
 
int ALLOW_SUSPEND = SUSPEND_NONE
 
- Static Public Attributes inherited from Components.GUISkin.GUISkin
bool IS_DIALOG = False
 

Additional Inherited Members

- Properties inherited from Components.GUISkin.GUISkin
 title = property(getTitle, setTitle)
 

Constructor & Destructor Documentation

◆ __init__()

def Plugins.Extensions.MediaCenter.plugin.MainMenu.__init__ (   self,
  session,
  type = None,
  playlist = None 
)

Reimplemented from Screens.Screen.Screen.

Member Function Documentation

◆ createSummary()

def Plugins.Extensions.MediaCenter.plugin.MainMenu.createSummary (   self)

Reimplemented from Components.GUISkin.GUISkin.

◆ down()

def Plugins.Extensions.MediaCenter.plugin.MainMenu.down (   self)

◆ menu()

def Plugins.Extensions.MediaCenter.plugin.MainMenu.menu (   self)

◆ ok()

def Plugins.Extensions.MediaCenter.plugin.MainMenu.ok (   self,
  playlist = None 
)

◆ runOnFirstExec()

def Plugins.Extensions.MediaCenter.plugin.MainMenu.runOnFirstExec (   self)

◆ up()

def Plugins.Extensions.MediaCenter.plugin.MainMenu.up (   self)

Member Data Documentation

◆ icon_path

Plugins.Extensions.MediaCenter.plugin.MainMenu.icon_path = resolveFilename(SCOPE_PLUGINS, "Extensions/MediaCenter/icons/")
static

◆ list

Plugins.Extensions.MediaCenter.plugin.MainMenu.list

◆ playlist

Plugins.Extensions.MediaCenter.plugin.MainMenu.playlist

◆ session

Plugins.Extensions.MediaCenter.plugin.MainMenu.session

◆ skin

string Plugins.Extensions.MediaCenter.plugin.MainMenu.skin
static
Initial value:
= """
<screen name="MainMenu" position="center,120" size="720,520" title="MediaCenter Menu">
<ePixmap position="10,5" size="300,500" pixmap="skin_default/menu.png" scale="stretch" zPosition="-1"/>
<widget name="header" position="320,10" size="390,50" halign="center" font="Regular;45" transparent="1"/>
<eLabel position="330,65" size="370,2" backgroundColor="grey" />
<widget name="subheader" position="30,350" size="260,70" halign="center" valign="center" font="Regular;26" backgroundColor="background" transparent="1"/>
<widget source="menulist" render="Listbox" position="320,100" size="390,450" enableWrapAround="1" scrollbarMode="showOnDemand">
<convert type="TemplatedMultiContent">
{"template": [
MultiContentEntryText(pos = (5,0), size = (640,45), font=0, flags = RT_HALIGN_LEFT|RT_VALIGN_CENTER, text = 0), # index 0 is the name
],
"fonts": [gFont("Regular", 30)],
"itemHeight": 45
}
</convert>
</widget>
<widget name="menuIcon" position="65,50" size="192,192" />
<ePixmap pixmap="skin_default/icons/dmm_logo.png" position="20,470" size="280,17" />
<ePixmap pixmap="skin_default/buttons/key_menu.png" position="665,490" size="50,25" />
</screen>"""

◆ type

Plugins.Extensions.MediaCenter.plugin.MainMenu.type

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