Top |
GObject ╰── GDBusObjectManagerClient ╰── GthGdbusObjectManagerClient ╰── GthManager
This object is also a GDBusObjectManagerClient, and therefore it allows to use the standard ObjectManager interface to list and handle the GthCoolingDevice and GthTermalZone objects.
GthManager * gth_manager_new_sync (GDBusConnection *connection
,GDBusObjectManagerClientFlags flags
,GCancellable *cancellable
,GError **error
);
Synchronously creates a GthManager.
The calling thread is blocked until a reply is received.
See gthcli_manager_new()
for the asynchronous version of this constructor.
connection |
||
flags |
Flags from the GDBusObjectManagerClientFlags enumeration. |
|
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
The constructed object
manager client or NULL
if error
is set.
[transfer full][type GthManager]
GPtrArray *
gth_manager_get_cooling_devices (GthManager *self
);
Get the known cooling devices
GPtrArray *
gth_manager_get_thermal_zones (GthManager *self
);
Get the known thermal zones