enigma2  2.6
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Screens.InputDeviceSetup.InputDeviceSelection Class Reference
Inheritance diagram for Screens.InputDeviceSetup.InputDeviceSelection:
Screens.Screen.Screen Screens.HelpMenu.HelpableScreen Components.GUISkin.GUISkin

Public Member Functions

def __init__ (self, session)
 
def layoutFinished (self)
 
def cleanup (self)
 
def buildInterfaceList (self, device, description, type)
 
def updateList (self)
 
def okbuttonClick (self)
 
def DeviceSetupClosed (self, *ret)
 
- Public Member Functions inherited from Screens.Screen.Screen
def __init__ (self, session, parent=None, windowTitle=None)
 
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 createGUIScreen (self, parent, desktop, updateonly=False)
 
def deleteGUIScreen (self)
 
def close (self)
 
def createSummary (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 Member Functions inherited from Screens.HelpMenu.HelpableScreen
def __init__ (self)
 
def showHelp (self)
 
def callHelpAction (self, *args)
 

Public Attributes

 edittext
 
 devices
 
 currentIndex
 
 list
 
- 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

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 Screens.InputDeviceSetup.InputDeviceSelection.__init__ (   self,
  session 
)

Reimplemented from Components.GUISkin.GUISkin.

Member Function Documentation

◆ buildInterfaceList()

def Screens.InputDeviceSetup.InputDeviceSelection.buildInterfaceList (   self,
  device,
  description,
  type 
)

◆ cleanup()

def Screens.InputDeviceSetup.InputDeviceSelection.cleanup (   self)

◆ DeviceSetupClosed()

def Screens.InputDeviceSetup.InputDeviceSelection.DeviceSetupClosed (   self,
ret 
)

◆ layoutFinished()

def Screens.InputDeviceSetup.InputDeviceSelection.layoutFinished (   self)

◆ okbuttonClick()

def Screens.InputDeviceSetup.InputDeviceSelection.okbuttonClick (   self)

◆ updateList()

def Screens.InputDeviceSetup.InputDeviceSelection.updateList (   self)

Member Data Documentation

◆ currentIndex

Screens.InputDeviceSetup.InputDeviceSelection.currentIndex

◆ devices

Screens.InputDeviceSetup.InputDeviceSelection.devices

◆ edittext

Screens.InputDeviceSetup.InputDeviceSelection.edittext

◆ list

Screens.InputDeviceSetup.InputDeviceSelection.list

◆ skin

string Screens.InputDeviceSetup.InputDeviceSelection.skin
static
Initial value:
= """
<screen name="InputDeviceSelection" position="center,center" size="560,400" title="Select input device">
<ePixmap pixmap="skin_default/buttons/red.png" position="0,0" size="140,40" alphatest="on"/>
<ePixmap pixmap="skin_default/buttons/green.png" position="140,0" size="140,40" alphatest="on"/>
<ePixmap pixmap="skin_default/buttons/yellow.png" position="280,0" size="140,40" alphatest="on"/>
<ePixmap pixmap="skin_default/buttons/blue.png" position="420,0" size="140,40" alphatest="on"/>
<widget source="key_red" render="Label" position="0,0" zPosition="1" size="140,40" font="Regular;20" halign="center" valign="center" backgroundColor="#9f1313" transparent="1"/>
<widget source="key_green" render="Label" position="140,0" zPosition="1" size="140,40" font="Regular;20" halign="center" valign="center" backgroundColor="#1f771f" transparent="1"/>
<widget source="key_yellow" render="Label" position="280,0" zPosition="1" size="140,40" font="Regular;20" halign="center" valign="center" backgroundColor="#a08500" transparent="1"/>
<widget source="key_blue" render="Label" position="420,0" zPosition="1" size="140,40" font="Regular;20" halign="center" valign="center" backgroundColor="#18188b" transparent="1"/>
<widget source="list" render="Listbox" position="5,50" size="550,280" zPosition="10" scrollbarMode="showOnDemand">
<convert type="TemplatedMultiContent">
<!-- device, description, devicepng, divpng -->
{"template": [
MultiContentEntryPixmapAlphaTest(pos = (2, 8), size = (54, 54), png = 2), # index 3 is the interface pixmap
MultiContentEntryText(pos = (65, 6), size = (450, 54), font=0, flags = RT_HALIGN_LEFT|RT_VALIGN_CENTER|RT_WRAP, text = 1), # index 1 is the interfacename
],
"fonts": [gFont("Regular", 28),gFont("Regular", 20)],
"itemHeight": 70
}
</convert>
</widget>
<ePixmap pixmap="skin_default/div-h.png" position="0,340" zPosition="1" size="560,2"/>
<widget source="introduction" render="Label" position="0,350" size="560,50" zPosition="10" font="Regular;21" halign="center" valign="center" backgroundColor="#25062748" transparent="1"/>
</screen>"""

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