GObject.Object
UPowerGlib.Client
Import line: | UPowerGlib = imports.gi.UPowerGlib; |
GIR File: | UPowerGlib-1.0.gir |
C documentation: | UPowerGlibClient |
Class : | Client |
Extends: | GObject.Object |
Properties | Defined By | |
---|---|---|
can_hibernate : gboolean
read only
|
UPowerGlib.Client | |
can_suspend : gboolean
read only
|
UPowerGlib.Client | |
daemon_version : String
read only
|
UPowerGlib.Client | |
is_docked : gboolean
read only
|
UPowerGlib.Client | |
lid_force_sleep : gboolean
read only
|
UPowerGlib.Client | |
lid_is_closed : gboolean
read only
|
UPowerGlib.Client | |
lid_is_present : gboolean
read only
|
UPowerGlib.Client | |
on_battery : gboolean
read only
|
UPowerGlib.Client | |
on_low_battery : gboolean
read only
|
UPowerGlib.Client | |
parent : GObject.Object
read only
|
UPowerGlib.Client | |
priv : UPowerGlib.ClientPrivate
read only
|
UPowerGlib.Client |
Method / Constructor | Defined By | |
---|---|---|
new UPowerGlib.Client
(Object properties)
Create a new UPowerGlib.Client
Create a new UPowerGlib.Client
|
||
about_to_sleep_sync
(Cancellable cancellable)
:
gboolean
|
UPowerGlib.Client | |
enumerate_devices_sync
(Cancellable cancellable)
:
gboolean
|
UPowerGlib.Client | |
get_can_hibernate
()
:
gboolean
|
UPowerGlib.Client | |
get_can_suspend
()
:
gboolean
|
UPowerGlib.Client | |
get_daemon_version
()
:
String
|
UPowerGlib.Client | |
get_devices
()
:
Array
|
UPowerGlib.Client | |
get_is_docked
()
:
gboolean
|
UPowerGlib.Client | |
get_lid_force_sleep
()
:
gboolean
|
UPowerGlib.Client | |
get_lid_is_closed
()
:
gboolean
|
UPowerGlib.Client | |
get_lid_is_present
()
:
gboolean
|
UPowerGlib.Client | |
get_on_battery
()
:
gboolean
|
UPowerGlib.Client | |
get_on_low_battery
()
:
gboolean
|
UPowerGlib.Client | |
get_properties_sync
(Cancellable cancellable)
:
gboolean
|
UPowerGlib.Client | |
hibernate_sync
(Cancellable cancellable)
:
gboolean
|
UPowerGlib.Client | |
suspend_sync
(Cancellable cancellable)
:
gboolean
|
UPowerGlib.Client |
Event | Defined By | |
---|---|---|
changed (Client self)
:
none
|
UPowerGlib.Client | |
|
UPowerGlib.Client | |
|
UPowerGlib.Client | |
|
UPowerGlib.Client |