openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
Tools.Notifications Namespace Reference

Functions

def AddNotification (screen, *args, **kwargs)
 
def AddNotificationWithCallback (fnc, screen, *args, **kwargs)
 
def AddNotificationParentalControl (fnc, screen, *args, **kwargs)
 
def AddNotificationWithID (id, screen, *args, **kwargs)
 
def AddNotificationWithIDCallback (fnc, id, screen, *args, **kwargs)
 
def AddNotificationWithUniqueIDCallback (fnc, id, screen, *args, **kwargs)
 
def RemovePopup (id)
 
def AddPopup (text, type, timeout, id=None)
 
def AddPopupWithCallback (fnc, text, type, timeout, id=None)
 

Variables

list notifications = []
 
list notificationAdded = []
 
list current_notifications = []
 

Function Documentation

◆ AddNotification()

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

◆ AddNotificationParentalControl()

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

◆ AddNotificationWithCallback()

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

◆ AddNotificationWithID()

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

◆ AddNotificationWithIDCallback()

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

◆ AddNotificationWithUniqueIDCallback()

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

◆ AddPopup()

def Tools.Notifications.AddPopup (   text,
  type,
  timeout,
  id = None 
)

◆ AddPopupWithCallback()

def Tools.Notifications.AddPopupWithCallback (   fnc,
  text,
  type,
  timeout,
  id = None 
)

◆ RemovePopup()

def Tools.Notifications.RemovePopup (   id)

Variable Documentation

◆ current_notifications

list Tools.Notifications.current_notifications = []

◆ notificationAdded

list Tools.Notifications.notificationAdded = []

◆ notifications

list Tools.Notifications.notifications = []