Notify – 0.7
Description: Reference for Notify-0.7

### Namespace

# Notify – 0.7

Send desktop notifications

Version | 0.8.3
Authors | Marco Trevisan, Logan Rathbone, Christian Hammond, Mike Hearn, and John (J5) Palmieri
License | LGPL-2.1-or-later
Website | https://gitlab.gnome.org/GNOME/libnotify/
Source | https://gitlab.gnome.org/GNOME/libnotify/

#### Build

C headers | `libnotify/notify.h`
pkg-config files | `libnotify`

#### Dependencies

GLib—2.0 | The base type system library
| Browse documentation
GObject—2.0 | The base type system library
| Browse documentation

#### Additional documentation

- Classes Hierarchy

#### 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_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_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 `NotifyActionCallback`. since: 0.7
CHECK_VERSION | Check whether a version equal to or greater than `major.minor.micro` is present. 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