ScolaSync  5.1
Référence de la classe src.notification.Notification

Fonctions membres publiques

def __init__ (self, app_name="", replaces_id=0, app_icon="", summary="", body="", actions=[], hints={}, expire_timeout=1000)
 Le constructeur. Plus de détails...
 
def notify (self)
 

Attributs publics

 app_name
 
 replaces_id
 
 app_icon
 
 summary
 
 body
 
 actions
 
 hints
 
 expire_timeout
 
 interface
 

Description détaillée

Définition à la ligne 35 du fichier notification.py.

Documentation des constructeurs et destructeur

◆ __init__()

def src.notification.Notification.__init__ (   self,
  app_name = "",
  replaces_id = 0,
  app_icon = "",
  summary = "",
  body = "",
  actions = [],
  hints = {},
  expire_timeout = 1000 
)

Le constructeur.

Paramètres
app_namenom d'une application, valeur par défaut =""
replaces_ididentifiant d'une notification à remplacer valeur par défaut=0
app_iconnom d'un fichier servant pour l'icône valeur par défaut=""
summarydescription brève de la notification valeur par défaut =""
bodyle texte de la notification, valeur pa défaut=""
actionsune liste de paires représeantant des actions, valeur par défaut=[]
hintsun dictionnaire de suggestions, valeur par défaut={},
expire_timeoutdurée maximale d'affichage en millisecondes, valeur par défaut=1000

Définition à la ligne 48 du fichier notification.py.

Documentation des fonctions membres

◆ notify()

def src.notification.Notification.notify (   self)

Définition à la ligne 67 du fichier notification.py.

Documentation des données membres

◆ actions

src.notification.Notification.actions

Définition à la ligne 54 du fichier notification.py.

◆ app_icon

src.notification.Notification.app_icon

Définition à la ligne 51 du fichier notification.py.

◆ app_name

src.notification.Notification.app_name

Définition à la ligne 49 du fichier notification.py.

◆ body

src.notification.Notification.body

Définition à la ligne 53 du fichier notification.py.

◆ expire_timeout

src.notification.Notification.expire_timeout

Définition à la ligne 56 du fichier notification.py.

◆ hints

src.notification.Notification.hints

Définition à la ligne 55 du fichier notification.py.

◆ interface

src.notification.Notification.interface

Définition à la ligne 61 du fichier notification.py.

◆ replaces_id

src.notification.Notification.replaces_id

Définition à la ligne 50 du fichier notification.py.

◆ summary

src.notification.Notification.summary

Définition à la ligne 52 du fichier notification.py.


La documentation de cette classe a été générée à partir du fichier suivant :