liblightdm-gobject-1 Reference Manual
Packages
liblightdm-gobject-1
LightDM
liblightdm-gobject-1
Description:
Content:
Namespaces:
LightDM
Classes:
Greeter
-
Greeter
is an opaque data structure and can only be accessed using the provided functions.
Language
-
Language
is an opaque data structure and can only be accessed using the provided functions.
Layout
-
Layout
is an opaque data structure and can only be accessed using the provided functions.
Session
-
Session
is an opaque data structure and can only be accessed using the provided functions.
User
-
User
is an opaque data structure and can only be accessed using the provided functions.
UserList
-
UserList
is an opaque data structure and can only be accessed using the provided functions.
Enums:
MessageType
PromptType
-
Prompt types the client is required to display.
Error domains:
GreeterError
-
Error codes returned by greeter operations.
Constants:
public
const
string
GREETER_SIGNAL_AUTHENTICATION_COMPLETE
public
const
string
GREETER_SIGNAL_AUTOLOGIN_TIMER_EXPIRED
public
const
string
GREETER_SIGNAL_IDLE
public
const
string
GREETER_SIGNAL_RESET
public
const
string
GREETER_SIGNAL_SHOW_MESSAGE
public
const
string
GREETER_SIGNAL_SHOW_PROMPT
public
const
string
SIGNAL_USER_CHANGED
public
const
string
USER_LIST_SIGNAL_USER_ADDED
public
const
string
USER_LIST_SIGNAL_USER_CHANGED
public
const
string
USER_LIST_SIGNAL_USER_REMOVED
Methods:
public
bool
get_can_hibernate
()
Checks if is authorized to do a system hibernate.
public
bool
get_can_restart
()
Checks if is authorized to do a system restart.
public
bool
get_can_shutdown
()
Checks if is authorized to do a system shutdown.
public
bool
get_can_suspend
()
Checks if authorized to do a system suspend.
public
unowned
string
get_hostname
()
public
unowned
Language
get_language
()
Get the current language.
public
unowned
List
<
Language
>
get_languages
()
Get a list of languages to present to the user.
public
unowned
Layout
get_layout
()
Get the current keyboard layout.
public
unowned
List
<
Layout
>
get_layouts
()
Get a list of keyboard layouts to present to the user.
public
string
?
get_motd
()
Get a system message that should be presented to the user.
public
unowned
string
?
get_os_id
()
Get a word describing the OS, suitable for checking which OS the greeter is running on.
public
unowned
string
?
get_os_name
()
Get a line of text describing the OS without version information, suitable for presentation to the user.
public
unowned
string
?
get_os_pretty_name
()
Get a line of text describing the OS, suitable for presentation to the user.
public
unowned
string
?
get_os_version
()
Get a line of text describing the OS version, suitable for presentation to the user.
public
unowned
string
?
get_os_version_id
()
Get a word descibing the OS version, suitable for checking which version of the OS this greeter is running on.
public
unowned
List
<
Session
>
get_remote_sessions
()
Get the available remote sessions.
public
unowned
List
<
Session
>
get_sessions
()
Get the available sessions.
public
Quark
greeter_error_quark
()
public
bool
hibernate
()
throws
Error
Triggers a system hibernate.
public
bool
restart
()
throws
Error
Triggers a system restart.
public
void
set_layout
(
Layout
layout)
Set the layout for this session.
public
bool
shutdown
()
throws
Error
Triggers a system shutdown.
public
bool
suspend
()
throws
Error
Triggers a system suspend.