Panel.LayeredSettings – libpanel-1 Reference Manual
Packages
libpanel-1
Panel
LayeredSettings
path
schema_id
LayeredSettings
append
bind
bind_with_mapping
get_boolean
get_default_value
get_double
get_int
get_key
get_string
get_uint
get_user_value
get_value
list_keys
set_boolean
set_double
set_int
set_string
set_uint
set_value
unbind
changed
LayeredSettings
Object Hierarchy:
Description:
[
CCode
( type_id =
"panel_layered_settings_get_type ()"
) ]
public
class
LayeredSettings
:
Object
Namespace:
Panel
Package:
libpanel-1
Content:
Properties:
public
string
path
{
owned
get
;
construct
; }
public
string
schema_id
{
owned
get
;
construct
; }
Creation methods:
public
LayeredSettings
(
string
schema_id,
string
path)
Methods:
public
void
append
(
Settings
settings)
public
void
bind
(
string
key,
void
* object,
string
property,
SettingsBindFlags
flags)
public
void
bind_with_mapping
(
string
key,
void
* object,
string
property,
SettingsBindFlags
flags,
owned
SettingsBindGetMapping
get_mapping,
owned
SettingsBindSetMapping
set_mapping)
Creates a new binding similar to
bind_with_mapping
but applying from the resolved value via the layered settings.
public
bool
get_boolean
(
string
key)
public
Variant
get_default_value
(
string
key)
public
double
get_double
(
string
key)
public
int
get_int
(
string
key)
public
SettingsSchemaKey
get_key
(
string
key)
Gets the
SettingsSchemaKey
denoted by
key
.
public
string
get_string
(
string
key)
public
uint
get_uint
(
string
key)
public
Variant
?
get_user_value
(
string
key)
public
Variant
get_value
(
string
key)
Gets the value of
key
from the first layer that is modified.
public
string
[]
list_keys
()
Lists the available keys.
public
void
set_boolean
(
string
key,
bool
val)
public
void
set_double
(
string
key,
double
val)
public
void
set_int
(
string
key,
int
val)
public
void
set_string
(
string
key,
string
val)
public
void
set_uint
(
string
key,
uint
val)
public
void
set_value
(
string
key,
Variant
value)
public
void
unbind
(
string
property)
Signals:
public
signal
void
changed
(
string
object)
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