enigma2  2.6
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Screens.MessageBox.MessageBox Class Reference
Inheritance diagram for Screens.MessageBox.MessageBox:
Screens.Screen.Screen Components.GUISkin.GUISkin Plugins.SystemPlugins.InputDeviceManager.InputDeviceAdapterFlasher.InputDeviceAdapterFlasher Screens.FactoryReset.FactoryReset Screens.Standby.TryQuitMainloop

Public Member Functions

def __init__ (self, session, text, type=TYPE_YESNO, timeout=-1, close_on_any_key=False, default=True, enable_input=True, msgBoxID=None, windowTitle=None, additionalActionMap=None, title=_("Message"))
 
def connectHighPrioAction (self)
 
def disconnectHighPrioAction (self)
 
def delayedAdditionalActionMapEnd (self)
 
def initTimeout (self, timeout)
 
def startTimer (self)
 
def stopTimer (self)
 
def timerTick (self)
 
def closeAnyKey (self, key, flag)
 
def timeoutCallback (self)
 
def cancel (self)
 
def ok (self)
 
def alwaysOK (self)
 
def up (self)
 
def down (self)
 
def left (self)
 
def right (self)
 
def move (self, direction)
 
def __repr__ (self)
 
- 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 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 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 Attributes

 type
 
 msgBoxID
 
 text
 
 close_on_any_key
 
 tmr
 
 tmr_conn
 
 timerRunning
 
 list
 
 additionalActionMap
 
 highPrioActionSlot
 
 timeout
 
 timer
 
 timer_conn
 
 origTitle
 
- 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

int TYPE_YESNO = 0
 
int TYPE_INFO = 1
 
int TYPE_WARNING = 2
 
int TYPE_ERROR = 3
 
bool IS_DIALOG = True
 
 ALLOW_SUSPEND = Screen.SUSPEND_STOPS
 
- 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.MessageBox.MessageBox.__init__ (   self,
  session,
  text,
  type = TYPE_YESNO,
  timeout = -1,
  close_on_any_key = False,
  default = True,
  enable_input = True,
  msgBoxID = None,
  windowTitle = None,
  additionalActionMap = None,
  title = _("Message") 
)

Member Function Documentation

◆ __repr__()

def Screens.MessageBox.MessageBox.__repr__ (   self)

Reimplemented from Screens.Screen.Screen.

◆ alwaysOK()

def Screens.MessageBox.MessageBox.alwaysOK (   self)

◆ cancel()

def Screens.MessageBox.MessageBox.cancel (   self)

◆ closeAnyKey()

def Screens.MessageBox.MessageBox.closeAnyKey (   self,
  key,
  flag 
)

◆ connectHighPrioAction()

def Screens.MessageBox.MessageBox.connectHighPrioAction (   self)

◆ delayedAdditionalActionMapEnd()

def Screens.MessageBox.MessageBox.delayedAdditionalActionMapEnd (   self)

◆ disconnectHighPrioAction()

def Screens.MessageBox.MessageBox.disconnectHighPrioAction (   self)

◆ down()

def Screens.MessageBox.MessageBox.down (   self)

◆ initTimeout()

def Screens.MessageBox.MessageBox.initTimeout (   self,
  timeout 
)

◆ left()

def Screens.MessageBox.MessageBox.left (   self)

◆ move()

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

◆ ok()

def Screens.MessageBox.MessageBox.ok (   self)

◆ right()

def Screens.MessageBox.MessageBox.right (   self)

◆ startTimer()

def Screens.MessageBox.MessageBox.startTimer (   self)

◆ stopTimer()

def Screens.MessageBox.MessageBox.stopTimer (   self)

◆ timeoutCallback()

def Screens.MessageBox.MessageBox.timeoutCallback (   self)

◆ timerTick()

def Screens.MessageBox.MessageBox.timerTick (   self)

◆ up()

def Screens.MessageBox.MessageBox.up (   self)

Member Data Documentation

◆ additionalActionMap

Screens.MessageBox.MessageBox.additionalActionMap

◆ ALLOW_SUSPEND

Screens.MessageBox.MessageBox.ALLOW_SUSPEND = Screen.SUSPEND_STOPS
static

◆ close_on_any_key

Screens.MessageBox.MessageBox.close_on_any_key

◆ highPrioActionSlot

Screens.MessageBox.MessageBox.highPrioActionSlot

◆ IS_DIALOG

bool Screens.MessageBox.MessageBox.IS_DIALOG = True
static

◆ list

Screens.MessageBox.MessageBox.list

◆ msgBoxID

Screens.MessageBox.MessageBox.msgBoxID

◆ origTitle

Screens.MessageBox.MessageBox.origTitle

◆ text

Screens.MessageBox.MessageBox.text

◆ timeout

Screens.MessageBox.MessageBox.timeout

◆ timer

Screens.MessageBox.MessageBox.timer

◆ timer_conn

Screens.MessageBox.MessageBox.timer_conn

◆ timerRunning

Screens.MessageBox.MessageBox.timerRunning

◆ tmr

Screens.MessageBox.MessageBox.tmr

◆ tmr_conn

Screens.MessageBox.MessageBox.tmr_conn

◆ type

Screens.MessageBox.MessageBox.type

◆ TYPE_ERROR

int Screens.MessageBox.MessageBox.TYPE_ERROR = 3
static

◆ TYPE_INFO

int Screens.MessageBox.MessageBox.TYPE_INFO = 1
static

◆ TYPE_WARNING

int Screens.MessageBox.MessageBox.TYPE_WARNING = 2
static

◆ TYPE_YESNO

int Screens.MessageBox.MessageBox.TYPE_YESNO = 0
static

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