Client
Glue
Iface
constructor
parent_
iface
name
device_
added
device_
removed
get_
daemon_
version
get_
lid_
is_
closed
get_
lid_
is_
present
get_
on_
battery
handle_
enumerate_
devices
handle_
get_
critical_
action
handle_
get_
display_
device
GJS API Reference
UPowerGlib-1.0
UPowerGlib
ClientGlueIface
Class ClientGlueIface
Virtual table for the D-Bus interface
org.freedesktop.UPower.
record
Hierarchy
ClientGlueIface
Index
Constructors
constructor
Properties
parent_
iface
name
Methods
device_
added
device_
removed
get_
daemon_
version
get_
lid_
is_
closed
get_
lid_
is_
present
get_
on_
battery
handle_
enumerate_
devices
handle_
get_
critical_
action
handle_
get_
display_
device
Constructors
constructor
new
Client
Glue
Iface
(
)
:
ClientGlueIface
Returns
ClientGlueIface
Properties
parent_
iface
parent_
iface
:
TypeInterface
The parent interface.
field
Static
name
name
:
string
Methods
device_
added
device_
added
(
object
:
ClientGlue
, arg_device
:
string
)
:
void
Parameters
object:
ClientGlue
arg_device:
string
Returns
void
device_
removed
device_
removed
(
object
:
ClientGlue
, arg_device
:
string
)
:
void
Parameters
object:
ClientGlue
arg_device:
string
Returns
void
get_
daemon_
version
get_
daemon_
version
(
object
:
ClientGlue
)
:
string
Parameters
object:
ClientGlue
Returns
string
get_
lid_
is_
closed
get_
lid_
is_
closed
(
object
:
ClientGlue
)
:
boolean
Parameters
object:
ClientGlue
Returns
boolean
get_
lid_
is_
present
get_
lid_
is_
present
(
object
:
ClientGlue
)
:
boolean
Parameters
object:
ClientGlue
Returns
boolean
get_
on_
battery
get_
on_
battery
(
object
:
ClientGlue
)
:
boolean
Parameters
object:
ClientGlue
Returns
boolean
handle_
enumerate_
devices
handle_
enumerate_
devices
(
object
:
ClientGlue
, invocation
:
DBusMethodInvocation
)
:
boolean
Parameters
object:
ClientGlue
invocation:
DBusMethodInvocation
Returns
boolean
handle_
get_
critical_
action
handle_
get_
critical_
action
(
object
:
ClientGlue
, invocation
:
DBusMethodInvocation
)
:
boolean
Parameters
object:
ClientGlue
invocation:
DBusMethodInvocation
Returns
boolean
handle_
get_
display_
device
handle_
get_
display_
device
(
object
:
ClientGlue
, invocation
:
DBusMethodInvocation
)
:
boolean
Parameters
object:
ClientGlue
invocation:
DBusMethodInvocation
Returns
boolean
Client
Glue
Iface
constructor
parent_
iface
name
device_
added
device_
removed
get_
daemon_
version
get_
lid_
is_
closed
get_
lid_
is_
present
get_
on_
battery
handle_
enumerate_
devices
handle_
get_
critical_
action
handle_
get_
display_
device
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJVUG93ZXJHbGliXzFfMC5VUG93ZXJHbGliLkNsaWVudEdsdWVJZmFjZS5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocmVmIjoiVVBvd2VyR2xpYl8xXzAuVVBvd2VyR2xpYi5DbGllbnRHbHVlSWZhY2UuaHRtbCNwYXJlbnRfaWZhY2UiLCJuYW1lIjoicGFyZW50X2lmYWNlIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MgdHNkLWlzLXN0YXRpYyIsImhyZWYiOiJVUG93ZXJHbGliXzFfMC5VUG93ZXJHbGliLkNsaWVudEdsdWVJZmFjZS5odG1sI25hbWUiLCJuYW1lIjoibmFtZSIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05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