Xfce.Systemd – libxfce4util-1.0 Reference Manual
Packages
libxfce4util-1.0
Xfce
Systemd
@get
Systemd
can_hibernate
can_hybrid_sleep
can_power_off
can_reboot
can_suspend
hibernate
hybrid_sleep
power_off
reboot
suspend
Systemd
Object Hierarchy:
Description:
[
CCode
( type_id =
"xfce_systemd_get_type ()"
) ]
public
class
Systemd
:
Object
Namespace:
Xfce
Package:
libxfce4util-1.0
Content:
Static methods:
public
static
Systemd
@get
()
Create a new
Systemd
instance or increase reference count.
Creation methods:
protected
Systemd
()
Methods:
public
bool
can_hibernate
(
out
bool
can_hibernate,
out
bool
auth_hibernate)
throws
Error
Check whether systemd can trigger and has authorization for Hibernate.
public
bool
can_hybrid_sleep
(
out
bool
can_hybrid_sleep,
out
bool
auth_hybrid_sleep)
throws
Error
Check whether systemd can trigger and has authorization for HybridSleep.
public
bool
can_power_off
(
out
bool
can_power_off,
out
bool
auth_power_off)
throws
Error
Check whether systemd can trigger PowerOff.
public
bool
can_reboot
(
out
bool
can_reboot,
out
bool
auth_reboot)
throws
Error
Check whether systemd can trigger Reboot.
public
bool
can_suspend
(
out
bool
can_suspend,
out
bool
auth_suspend)
throws
Error
Check whether systemd can trigger and has authorization for Suspend.
public
bool
hibernate
(
bool
polkit_interactive)
throws
Error
Ask systemd to trigger Hibernate.
public
bool
hybrid_sleep
(
bool
polkit_interactive)
throws
Error
Ask systemd to trigger HybridSleep.
public
bool
power_off
(
bool
polkit_interactive)
throws
Error
Ask systemd to trigger PowerOff.
public
bool
reboot
(
bool
polkit_interactive)
throws
Error
Ask systemd to trigger Reboot.
public
bool
suspend
(
bool
polkit_interactive)
throws
Error
Ask systemd to trigger Suspend.
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref