1
-
2
1
## ` Notification `
3
2
4
- Displays a notification.
5
3
4
+ Displays a notification.
6
5
7
6
** Paramters:**
8
7
9
- | Name | type | description |
8
+ | Name | Type | Description |
10
9
| ---------| ------| --------------------------------------------------------------|
11
- | title | str | The summary text (optional). |
12
- | message | str | The message body |
10
+ | summary | str | The summary text |
11
+ | message | str | The message body (optional) |
12
+ | timeout | int | Notification length in milliseconds (optional) |
13
+ | app_name | str | Caller app name |
13
14
| \*\* kwargs| | Additional arguments (optional) |
14
15
16
+
15
17
## Linux
16
18
17
- This module contains the code for the notification using the Gtk api.
19
+ This module contains the code for the notification using Gtk api.
20
+
18
21
19
22
### ` LinuxNotification `
20
23
24
+
21
25
Displays a notification using the Gtk API.
22
26
23
27
** Paramters:**
24
28
25
- | Name | Type | Description |
26
- | ---------| -----------| ------------------------ |
27
- | app_name | str | The application name to use for this notification. |
28
- | title | str | The summary text |
29
- | message | str | The message body text |
30
- | image | str | The icon filename or icon theme-compliant name |
29
+ | Name | Type | Description |
30
+ | ---------| -----------| ------------------------------------------------|
31
+ | summary | str | The summary text |
32
+ | message | str | The message body (optional) |
33
+ | timeout | int | The timeout in milliseconds (optional) |
34
+ | app_name | str | Caller app name |
35
+ | image | str | The icon filename or icon theme-compliant name |
31
36
32
37
33
38
## Windows
34
39
35
- This module contains the code for the notification using the Win32 api.
40
+
41
+ This module contains the code for the notification using Win32 api.
36
42
37
43
38
44
### ` Win32Notification `
@@ -44,10 +50,7 @@ Displays a notification using the Win32 API.
44
50
45
51
| Name | Type | Description |
46
52
| ---------| -----------| -------------------------------------------------------|
53
+ | summary | str | The summary text |
54
+ | message | str | The message body (optional) |
55
+ | timeout | int | Timeout in milliseconds (optional) |
47
56
| tip | str | Tooltip text (optional) |
48
- | timeout | int | Timeout for ballon tooltip in milliseconds (optional) |
49
- | title | str | Title for ballon tooltip (optional) |
50
- | message | str | Balloon tooltip text (optional) |
51
-
52
-
53
-
0 commit comments