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 | |
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.
| def src.notification.Notification.__init__ | ( | self, | |
app_name = "", |
|||
replaces_id = 0, |
|||
app_icon = "", |
|||
summary = "", |
|||
body = "", |
|||
actions = [], |
|||
hints = {}, |
|||
expire_timeout = 1000 |
|||
| ) |
Le constructeur.
| app_name | nom d'une application, valeur par défaut ="" |
| replaces_id | identifiant d'une notification à remplacer valeur par défaut=0 |
| app_icon | nom d'un fichier servant pour l'icône valeur par défaut="" |
| summary | description brève de la notification valeur par défaut ="" |
| body | le texte de la notification, valeur pa défaut="" |
| actions | une liste de paires représeantant des actions, valeur par défaut=[] |
| hints | un dictionnaire de suggestions, valeur par défaut={}, |
| expire_timeout | durée maximale d'affichage en millisecondes, valeur par défaut=1000 |
Définition à la ligne 51 du fichier notification.py.
| def src.notification.Notification.notify | ( | self | ) |
Définition à la ligne 70 du fichier notification.py.
Définition à la ligne 51 du fichier notification.py.
Définition à la ligne 51 du fichier notification.py.
Définition à la ligne 51 du fichier notification.py.
Définition à la ligne 51 du fichier notification.py.
Définition à la ligne 51 du fichier notification.py.
Définition à la ligne 51 du fichier notification.py.
Définition à la ligne 51 du fichier notification.py.
Définition à la ligne 51 du fichier notification.py.
Définition à la ligne 51 du fichier notification.py.