Définition à la ligne 35 du fichier notification.py.
◆ __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_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 48 du fichier notification.py.
◆ notify()
| def src.notification.Notification.notify |
( |
|
self | ) |
|
◆ actions
| src.notification.Notification.actions |
◆ app_icon
| src.notification.Notification.app_icon |
◆ app_name
| src.notification.Notification.app_name |
◆ body
| src.notification.Notification.body |
◆ expire_timeout
| src.notification.Notification.expire_timeout |
◆ hints
| src.notification.Notification.hints |
◆ interface
| src.notification.Notification.interface |
◆ replaces_id
| src.notification.Notification.replaces_id |
◆ summary
| src.notification.Notification.summary |
La documentation de cette classe a été générée à partir du fichier suivant :