Namespace
Notify – 0.7
Send desktop notifications
Dependencies
GLib—2.0 | The base type system library |
Browse documentation | |
GObject—2.0 | The base type system library |
Browse documentation |
Classes
Notification |
A passive pop-up notification. since: 0.7 |
Enumerations
ClosedReason |
The reason for which the notification has been closed. since: 0.8.0 |
Urgency |
The urgency level of the notification. since: 0.7 |
Callbacks
ActionCallback |
An action callback function. since: 0.7 |
Functions
get_app_icon |
Gets the application icon registered. unstable since: 0.8.4 |
get_app_name |
Gets the application name registered. since: 0.7 |
get_server_caps |
Queries the server capabilities. since: 0.7 |
get_server_info |
Queries the server for information. since: 0.7 |
init |
Initialized libnotify. This must be called before any other functions. since: 0.7 |
is_initted |
Gets whether or not libnotify is initialized. since: 0.7 |
set_app_icon |
Sets the application icon. unstable since: 0.8.4 |
set_app_name |
Sets the application name. since: 0.7 |
uninit |
Uninitializes libnotify. since: 0.7 |
Function Macros
ACTION_CALLBACK |
A convenience macro for casting a function to a since: 0.7 |
CHECK_VERSION |
Check whether a version equal to or greater than
since: 0.7 |
Constants
EXPIRES_DEFAULT |
The default expiration time on a notification. since: 0.7 |
EXPIRES_NEVER |
The notification never expires. since: 0.7 |
VERSION_MAJOR |
Adwaita major version component (e.g. 1 if the version is 1.2.3). since: 0.7 |
VERSION_MICRO |
Adwaita micro version component (e.g. 3 if the version is 1.2.3). since: 0.7 |
VERSION_MINOR |
Adwaita minor version component (e.g. 2 if the version is 1.2.3). since: 0.7 |