enigma2  2.6
Classes | Functions | Variables
Tools.Notifications Namespace Reference

Classes

class  NotificationQueue
 
class  NotificationQueueEntry
 

Functions

def isPendingOrVisibleNotificationID (id)
 
def AddNotification (screen, *args, **kwargs)
 
def AddNotificationWithCallback (fnc, screen, *args, **kwargs)
 
def AddNotificationWithID (id, screen, *args, **kwargs)
 
def RemovePopup (id)
 
def AddPopup (text, type, timeout, id=None, domain=None, screen=MessageBox, additionalActionMap=None)
 

Variables

 ICON_DEFAULT = LoadPixmap(cached=True, path=resolveFilename(SCOPE_CURRENT_SKIN, 'skin_default/icons/marker.png'))
 
 ICON_MAIL = LoadPixmap(cached=True, path=resolveFilename(SCOPE_CURRENT_SKIN, 'skin_default/icons/notification_mail.png'))
 
 ICON_TIMER = LoadPixmap(cached=True, path=resolveFilename(SCOPE_CURRENT_SKIN, 'skin_default/icons/clock.png'))
 
 notificationQueue = NotificationQueue()
 

Function Documentation

◆ AddNotification()

def Tools.Notifications.AddNotification (   screen,
args,
**  kwargs 
)

◆ AddNotificationWithCallback()

def Tools.Notifications.AddNotificationWithCallback (   fnc,
  screen,
args,
**  kwargs 
)

◆ AddNotificationWithID()

def Tools.Notifications.AddNotificationWithID (   id,
  screen,
args,
**  kwargs 
)

◆ AddPopup()

def Tools.Notifications.AddPopup (   text,
  type,
  timeout,
  id = None,
  domain = None,
  screen = MessageBox,
  additionalActionMap = None 
)

◆ isPendingOrVisibleNotificationID()

def Tools.Notifications.isPendingOrVisibleNotificationID (   id)

◆ RemovePopup()

def Tools.Notifications.RemovePopup (   id)

Variable Documentation

◆ ICON_DEFAULT

Tools.Notifications.ICON_DEFAULT = LoadPixmap(cached=True, path=resolveFilename(SCOPE_CURRENT_SKIN, 'skin_default/icons/marker.png'))

◆ ICON_MAIL

Tools.Notifications.ICON_MAIL = LoadPixmap(cached=True, path=resolveFilename(SCOPE_CURRENT_SKIN, 'skin_default/icons/notification_mail.png'))

◆ ICON_TIMER

Tools.Notifications.ICON_TIMER = LoadPixmap(cached=True, path=resolveFilename(SCOPE_CURRENT_SKIN, 'skin_default/icons/clock.png'))

◆ notificationQueue

Tools.Notifications.notificationQueue = NotificationQueue()