![]() |
![]() |
![]() |
LightDM Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <lightdm.h> gboolean lightdm_get_can_suspend (void
); gboolean lightdm_suspend (GError **error
); gboolean lightdm_get_can_hibernate (void
); gboolean lightdm_hibernate (GError **error
); gboolean lightdm_get_can_restart (void
); gboolean lightdm_restart (GError **error
); gboolean lightdm_get_can_shutdown (void
); gboolean lightdm_shutdown (GError **error
);
gboolean lightdm_get_can_suspend (void
);
Checks if authorized to do a system suspend.
Returns : |
TRUE if can suspend the system |
gboolean lightdm_get_can_hibernate (void
);
Checks if is authorized to do a system hibernate.
Returns : |
TRUE if can hibernate the system |
gboolean lightdm_get_can_restart (void
);
Checks if is authorized to do a system restart.
Returns : |
TRUE if can restart the system |
gboolean lightdm_get_can_shutdown (void
);
Checks if is authorized to do a system shutdown.
Returns : |
TRUE if can shutdown the system |