Notify.get_server_info
function get_server_info(): [ok: Boolean, ret_name: String, ret_vendor: String, ret_version: String, ret_spec_version: String] { // Gjs wrapper for notify_get_server_info() }
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.
- ok
true if successful, and the variables passed will be set, false on error. The returned strings must be freed with g_free
- ret_name
a location to store the server name, or null
- ret_vendor
a location to store the server vendor, or null
- ret_version
a location to store the server version, or null
- ret_spec_version
a location to store the version the service is compliant with, or null