ScolaSync  1.0
 Tout Classes Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe src.notification.Notification

Une classe pour afficher des notifications à l'écran. Plus de détails...

Fonctions membres publiques

def __init__
 Le constructeur.
def notify

Attributs publics

 app_name
 replaces_id
 app_icon
 summary
 body
 actions
 hints
 expire_timeout
 interface

Description détaillée

Une classe pour afficher des notifications à l'écran.

Doit fonctionner avec tous les gestionnaires de bureau qui adhèrent aux standards de freedesktop.org. Cette classe est basée sur la documentation disponible à http://www.galago-project.org/specs/notification/0.9/x408.html

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

Documentation des constructeurs et destructeur

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 53 du fichier notification.py.

Documentation des fonctions membres

def src.notification.Notification.notify (   self)

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

Documentation des données membres

src.notification.Notification.actions

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

src.notification.Notification.app_icon

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

src.notification.Notification.app_name

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

src.notification.Notification.body

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

src.notification.Notification.expire_timeout

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

src.notification.Notification.hints

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

src.notification.Notification.interface

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

src.notification.Notification.replaces_id

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

src.notification.Notification.summary

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


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