openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
Screens.MessageBox.MessageBox Class Reference
Inheritance diagram for Screens.MessageBox.MessageBox:
Screens.Screen.Screen Screens.HelpMenu.HelpableScreen Components.EpgLoadSave.EpgDeleteMsg Components.EpgLoadSave.EpgLoadMsg Components.EpgLoadSave.EpgSaveMsg Screens.Standby.TryQuitMainloop

Public Member Functions

def __init__ (self, session, text, type=TYPE_YESNO, timeout=-1, list=None, default=True, closeOnAnyKey=False, enableInput=True, msgBoxID=None, typeIcon=None, timeoutDefault=None, windowTitle=None, skinName=None, close_on_any_key=False, enable_input=True, timeout_default=None, title=None, picon=None, skin_name=None, simple=None)
 
def __repr__ (self)
 
def layoutFinished (self)
 
def processTimer (self)
 
def stopTimer (self, reason)
 
def cancel (self)
 
def select (self)
 
def selectOk (self)
 
def top (self)
 
def pageUp (self)
 
def up (self)
 
def down (self)
 
def pageDown (self)
 
def bottom (self)
 
def move (self, step)
 
def autoResize (self)
 
def createSummary (self)
 
- Public Member Functions inherited from Screens.Screen.Screen
def __init__ (self, session, parent=None, mandatoryWidgets=None)
 
def execBegin (self)
 
def execEnd (self)
 
def doClose (self)
 
def close (self, *retval)
 
def show (self)
 
def hide (self)
 
def isAlreadyShown (self)
 
def isStandAlone (self)
 
def getScreenPath (self)
 
def setTitle (self, title, showPath=True)
 
def getTitle (self)
 
def setFocus (self, o)
 
def setKeyboardModeNone (self)
 
def setKeyboardModeAscii (self)
 
def restoreKeyboardMode (self)
 
def saveKeyboardMode (self)
 
def setDesktop (self, desktop)
 
def setAnimationMode (self, mode)
 
def getRelatedScreen (self, name)
 
def callLater (self, function)
 
def applySkin (self)
 
def createGUIScreen (self, parent, desktop, updateonly=False)
 
def deleteGUIScreen (self)
 
def addSummary (self, summary)
 
def removeSummary (self, summary)
 
- Public Member Functions inherited from Screens.HelpMenu.HelpableScreen
def __init__ (self)
 
def showHelp (self)
 
def callHelpAction (self, *args)
 

Public Attributes

 text
 
 type
 
 list
 
 startIndex
 
 timeout
 
 closeOnAnyKey
 
 msgBoxID
 
 typeIcon
 
 picon
 
 timeoutDefault
 
 windowTitle
 
 baseTitle
 
 activeTitle
 
 skinName
 
 timer
 
- Public Attributes inherited from Screens.Screen.Screen
 skinName
 
 session
 
 parent
 
 mandatoryWidgets
 
 onClose
 
 onFirstExecBegin
 
 onExecBegin
 
 onExecEnd
 
 onLayoutFinish
 
 onShown
 
 onShow
 
 onHide
 
 execing
 
 shown
 
 already_shown
 
 renderer
 
 helpList
 
 close_on_next_exec
 
 stand_alone
 
 keyboardMode
 
 desktop
 
 instance
 
 summaries
 
 screenPath
 
 screenTitle
 
 active_components
 
 scale
 

Static Public Attributes

string skin
 
int TYPE_NOICON = 0
 
int TYPE_YESNO = 1
 
int TYPE_INFO = 2
 
int TYPE_WARNING = 3
 
int TYPE_ERROR = 4
 
int TYPE_MESSAGE = 5
 
dictionary TYPE_PREFIX
 
- Static Public Attributes inherited from Screens.Screen.Screen
 NO_SUSPEND
 
 SUSPEND_STOPS
 
 SUSPEND_PAUSES
 
 ALLOW_SUSPEND = NO_SUSPEND
 
 globalScreen = None
 

Additional Inherited Members

- Properties inherited from Screens.Screen.Screen
 title = property(getTitle, setTitle)
 

Constructor & Destructor Documentation

◆ __init__()

def Screens.MessageBox.MessageBox.__init__ (   self,
  session,
  text,
  type = TYPE_YESNO,
  timeout = -1,
  list = None,
  default = True,
  closeOnAnyKey = False,
  enableInput = True,
  msgBoxID = None,
  typeIcon = None,
  timeoutDefault = None,
  windowTitle = None,
  skinName = None,
  close_on_any_key = False,
  enable_input = True,
  timeout_default = None,
  title = None,
  picon = None,
  skin_name = None,
  simple = None 
)

Member Function Documentation

◆ __repr__()

def Screens.MessageBox.MessageBox.__repr__ (   self)

Reimplemented from Screens.Screen.Screen.

◆ autoResize()

def Screens.MessageBox.MessageBox.autoResize (   self)

◆ bottom()

def Screens.MessageBox.MessageBox.bottom (   self)

◆ cancel()

def Screens.MessageBox.MessageBox.cancel (   self)

◆ createSummary()

def Screens.MessageBox.MessageBox.createSummary (   self)

Reimplemented from Screens.Screen.Screen.

Reimplemented in Screens.Standby.TryQuitMainloop.

◆ down()

def Screens.MessageBox.MessageBox.down (   self)

◆ layoutFinished()

def Screens.MessageBox.MessageBox.layoutFinished (   self)

◆ move()

def Screens.MessageBox.MessageBox.move (   self,
  step 
)

◆ pageDown()

def Screens.MessageBox.MessageBox.pageDown (   self)

◆ pageUp()

def Screens.MessageBox.MessageBox.pageUp (   self)

◆ processTimer()

def Screens.MessageBox.MessageBox.processTimer (   self)

◆ select()

def Screens.MessageBox.MessageBox.select (   self)

◆ selectOk()

def Screens.MessageBox.MessageBox.selectOk (   self)

◆ stopTimer()

def Screens.MessageBox.MessageBox.stopTimer (   self,
  reason 
)

◆ top()

def Screens.MessageBox.MessageBox.top (   self)

◆ up()

def Screens.MessageBox.MessageBox.up (   self)

Member Data Documentation

◆ activeTitle

Screens.MessageBox.MessageBox.activeTitle

◆ baseTitle

Screens.MessageBox.MessageBox.baseTitle

◆ closeOnAnyKey

Screens.MessageBox.MessageBox.closeOnAnyKey

◆ list

Screens.MessageBox.MessageBox.list

◆ msgBoxID

Screens.MessageBox.MessageBox.msgBoxID

◆ picon

Screens.MessageBox.MessageBox.picon

◆ skin

string Screens.MessageBox.MessageBox.skin
static
Initial value:
= """
<screen name="MessageBox" position="center,center" size="520,225" resolution="1280,720">
<widget name="icon" pixmaps="icons/input_question.png,icons/input_info.png,icons/input_warning.png,icons/input_error.png,icons/input_message.png" position="10,10" size="53,53" alphatest="blend" conditional="icon" scale="1" transparent="1" />
<widget name="text" position="75,10" size="435,55" font="Regular;22" transparent="1" />
<widget name="list" position="10,75" size="500,140" conditional="list" enableWrapAround="1" font="Regular;25" itemHeight="35" scrollbarMode="showOnDemand" transparent="1" />
</screen>"""

◆ skinName

Screens.MessageBox.MessageBox.skinName

◆ startIndex

Screens.MessageBox.MessageBox.startIndex

◆ text

Screens.MessageBox.MessageBox.text

◆ timeout

Screens.MessageBox.MessageBox.timeout

◆ timeoutDefault

Screens.MessageBox.MessageBox.timeoutDefault

◆ timer

Screens.MessageBox.MessageBox.timer

◆ type

Screens.MessageBox.MessageBox.type

◆ TYPE_ERROR

int Screens.MessageBox.MessageBox.TYPE_ERROR = 4
static

◆ TYPE_INFO

int Screens.MessageBox.MessageBox.TYPE_INFO = 2
static

◆ TYPE_MESSAGE

int Screens.MessageBox.MessageBox.TYPE_MESSAGE = 5
static

◆ TYPE_NOICON

int Screens.MessageBox.MessageBox.TYPE_NOICON = 0
static

◆ TYPE_PREFIX

dictionary Screens.MessageBox.MessageBox.TYPE_PREFIX
static
Initial value:
= {
TYPE_YESNO: _("Question"),
TYPE_INFO: _("Information"),
TYPE_WARNING: _("Warning"),
TYPE_ERROR: _("Error"),
TYPE_MESSAGE: _("Message")
}
#define _(string)
Definition: i18n.h:27

◆ TYPE_WARNING

int Screens.MessageBox.MessageBox.TYPE_WARNING = 3
static

◆ TYPE_YESNO

int Screens.MessageBox.MessageBox.TYPE_YESNO = 1
static

◆ typeIcon

Screens.MessageBox.MessageBox.typeIcon

◆ windowTitle

Screens.MessageBox.MessageBox.windowTitle

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