GLib.Settings – gio-2.0 Reference Manual
Packages
gio-2.0
GLib
Settings
backend
delay_apply
has_unapplied
path
schema
schema_id
settings_schema
list_relocatable_schemas
list_schemas
sync
unbind
Settings
Settings.full
Settings.with_backend
Settings.with_backend_and_path
Settings.with_path
@get
@set
apply
bind
bind_with_mapping
bind_writable
create_action
delay
get_boolean
get_child
get_double
get_enum
get_flags
get_has_unapplied
get_int
get_mapped
get_range
get_string
get_strv
get_uint
get_value
is_writable
list_children
list_keys
range_check
reset
revert
set_boolean
set_double
set_enum
set_flags
set_int
set_string
set_strv
set_uint
set_value
change_event
changed
writable_change_event
writable_changed
Settings
Object Hierarchy:
Description:
public
class
Settings
:
Object
Namespace:
GLib
Package:
gio-2.0
Content:
Properties:
public
SettingsBackend
backend
{
construct
set
;
owned
get
; }
public
bool
delay_apply
{
get
; }
public
bool
has_unapplied
{
get
; }
public
string
path
{
construct
set
;
owned
get
; }
public
string
schema
{
construct
set
;
owned
get
; }
public
string
schema_id
{
construct
set
;
owned
get
; }
public
SettingsSchema
settings_schema
{
construct
set
;
owned
get
; }
Static methods:
public
static
weak
string
[]
list_relocatable_schemas
()
public
static
weak
string
[]
list_schemas
()
public
static
void
sync
()
public
static
void
unbind
(
void
* object,
string
property)
Creation methods:
public
Settings
(
string
schema_id)
public
Settings.full
(
SettingsSchema
schema,
SettingsBackend
? backend,
string
? path)
public
Settings.with_backend
(
string
schema_id,
SettingsBackend
backend)
public
Settings.with_backend_and_path
(
string
schema_id,
SettingsBackend
backend,
string
path)
public
Settings.with_path
(
string
schema_id,
string
path)
Methods:
public
void
apply
()
public
void
bind
(
string
key,
Object
object,
string
property,
SettingsBindFlags
flags)
public
void
bind_with_mapping
(
string
key,
Object
object,
string
property,
SettingsBindFlags
flags,
SettingsBindGetMappingShared
get_mapping,
SettingsBindSetMappingShared
set_mapping,
void
* user_data,
DestroyNotify
? notify)
public
void
bind_writable
(
string
key,
Object
object,
string
property,
bool
inverted)
public
Action
create_action
(
string
key)
public
void
delay
()
public
void
@get
(
string
key,
string
format, ...)
public
bool
get_boolean
(
string
key)
public
Settings
get_child
(
string
name)
public
double
get_double
(
string
key)
public
int
get_enum
(
string
key)
public
uint
get_flags
(
string
key)
public
bool
get_has_unapplied
()
public
int
get_int
(
string
key)
public
void
*
get_mapped
(
string
key,
SettingsGetMapping
mapping)
public
Variant
get_range
(
string
key)
public
string
get_string
(
string
key)
public
string
[]
get_strv
(
string
key)
public
uint
get_uint
(
string
key)
public
Variant
get_value
(
string
key)
public
bool
is_writable
(
string
name)
public
string
[]
list_children
()
public
string
[]
list_keys
()
public
bool
range_check
(
string
key,
Variant
value)
public
void
reset
(
string
key)
public
void
revert
()
public
bool
@set
(
string
key,
string
format, ...)
public
bool
set_boolean
(
string
key,
bool
value)
public
bool
set_double
(
string
key,
double
value)
public
bool
set_enum
(
string
key,
int
value)
public
bool
set_flags
(
string
key,
uint
value)
public
bool
set_int
(
string
key,
int
value)
public
bool
set_string
(
string
key,
string
value)
public
bool
set_strv
(
string
key,
string
[]? value)
public
bool
set_uint
(
string
key,
uint
value)
public
bool
set_value
(
string
key,
Variant
value)
Signals:
public
virtual
signal
bool
change_event
(
Quark
[]? keys)
public
virtual
signal
void
changed
(
string
key)
public
virtual
signal
bool
writable_change_event
(
uint
key)
public
virtual
signal
void
writable_changed
(
string
key)
Inherited Members:
All known members inherited from class GLib.Object
@new
newv
new_valist
get_type
get_class
@ref
unref
ref_sink
weak_ref
weak_unref
add_weak_pointer
remove_weak_pointer
@get
@set
get_property
set_property
get_data
set_data
set_data_full
steal_data
get_qdata
set_qdata
set_qdata_full
steal_qdata
freeze_notify
thaw_notify
dispose
constructed
notify_property
connect
disconnect
add_toggle_ref
remove_toggle_ref
bind_property
notify
ref_count