-
public unowned string get_app_name ()
Gets the application name registered.
-
public unowned List get_server_caps ()
Synchronously queries the server for its capabilities and returns them in a
List. the list elements with
g_free and the list itself with
g_list_free.
-
public bool get_server_info (out string ret_name, out string ret_vendor, out string ret_version, out string ret_spec_version)
Synchronously queries the server for its information, specifically, the name, vendor, server version,
and the version of the notifications specification that it is compliant with. on error. The returned strings must be freed with
g_free
-
public bool init (string app_name)
Initialized libnotify. This must be called before any other functions.
-
public bool is_initted ()
Gets whether or not libnotify is initialized.
-
public void uninit ()
Uninitialized libnotify. This should be called when the program no longer needs libnotify for the rest
of its lifecycle, typically just before exitting.