LightDM.User – liblightdm-gobject-1 Reference Manual
Packages
liblightdm-gobject-1
LightDM
User
background
display_name
has_messages
home_directory
image
is_locked
language
layout
layouts
logged_in
name
real_name
session
uid
User
get_background
get_display_name
get_has_messages
get_home_directory
get_image
get_is_locked
get_language
get_layout
get_layouts
get_logged_in
get_name
get_real_name
get_session
get_uid
changed
User
Object Hierarchy:
Description:
[
CCode
( type_id =
"lightdm_user_get_type ()"
) ]
public
class
User
:
Object
User
is an opaque data structure and can only be accessed using the provided functions.
Namespace:
LightDM
Package:
liblightdm-gobject-1
Content:
Properties:
public
string
background
{
get
; }
public
string
display_name
{
get
; }
public
bool
has_messages
{
get
; }
public
string
home_directory
{
get
; }
public
string
image
{
get
; }
public
bool
is_locked
{
get
; }
public
string
language
{
get
; }
public
string
layout
{
get
; }
public
string
[]
layouts
{
get
; }
public
bool
logged_in
{
get
; }
public
string
name
{
get
; }
public
string
real_name
{
get
; }
public
string
session
{
get
; }
public
uid_t
uid
{
owned
get
; }
Creation methods:
protected
User
()
Methods:
public
unowned
string
?
get_background
()
Get the background file path for a user.
public
unowned
string
get_display_name
()
Get the display name of a user.
public
bool
get_has_messages
()
Check if a user has waiting messages.
public
unowned
string
get_home_directory
()
Get the home directory for a user.
public
unowned
string
?
get_image
()
Get the image URI for a user.
public
bool
get_is_locked
()
Get if the user is locked.
public
unowned
string
?
get_language
()
Get the language for a user.
public
unowned
string
?
get_layout
()
Get the keyboard layout for a user.
public
unowned
string
[]
get_layouts
()
Get the configured keyboard layouts for a user.
public
bool
get_logged_in
()
Check if a user is logged in.
public
unowned
string
get_name
()
Get the name of a user.
public
unowned
string
get_real_name
()
Get the real name of a user.
public
unowned
string
?
get_session
()
Get the session for a user.
public
uid_t
get_uid
()
Get the uid of a user.
Signals:
public
virtual
signal
void
changed
()
The
changed
signal gets emitted this user account is modified.
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