| Libnotify Reference Manual | ||||
|---|---|---|---|---|
gboolean notify_init (constchar *app_name);void notify_uninit (void);gboolean notify_is_initted (void); constgchar * notify_get_app_name (void);GList * notify_get_server_caps (void);gboolean notify_get_server_info (char **ret_name,char **ret_vendor,char **ret_version,char **ret_spec_version);
gboolean notify_init (constchar *app_name);
Initialized libnotify. This must be called before any other functions.
|
The name of the application initializing libnotify. |
Returns : |
TRUEFALSE |
void notify_uninit (void);
Uninitialized libnotify.
This should be called when the program no longer needs libnotify for the rest of its lifecycle, typically just before exitting.
gboolean notify_is_initted (void);
Gets whether or not libnotify is initialized.
Returns : |
TRUEFALSE |
constgchar * notify_get_app_name (void);
Gets the application name registered.
Returns : |
The registered application name, passed to notify_init().
|
GList * notify_get_server_caps (void);
Queries the server for its capabilities and returns them in a
Returns : |
A |
gboolean notify_get_server_info (char **ret_name,char **ret_vendor,char **ret_version,char **ret_spec_version);
Queries the server for its information, specifically, the name, vendor, server version, and the version of the notifications specification that it is compliant with.
|
The resulting server name. |
|
The resulting server vendor. |
|
The resulting server version. |
|
The resulting version of the specification the server is compliant with. |
Returns : |
TRUEFALSE |