panel.layered_settings

Module for [LayeredSettings] class

Types 3

Methods
GType _gType() @property
LayeredSettings self()Returns `this`, for use in `with` statements.
LayeredSettingsGidBuilder builder()Get builder for [panel.layered_settings.LayeredSettings] Returns: New builder object
string path() @property
string schemaId() @property
void bind(string key, void * object, string property, gio.types.SettingsBindFlags flags)
void bindWithMapping(string key, void * object, string property, gio.types.SettingsBindFlags flags, gio.types.SettingsBindGetMapping getMapping, gio.types.SettingsBindSetMapping setMapping)Creates a new binding similar to [gio.settings.Settings.bindWithMapping] but applying from the resolved value via the layered settings.
bool getBoolean(string key)
double getDouble(string key)
int getInt(string key)
gio.settings_schema_key.SettingsSchemaKey getKey(string key)Gets the #GSettingsSchemaKey denoted by key.
string getString(string key)
uint getUint(string key)
glib.variant.Variant getValue(string key)Gets the value of key from the first layer that is modified.
string[] listKeys()Lists the available keys. Returns: an array of keys that can be retrieved from the #PanelLayeredSettings.
void setBoolean(string key, bool val)
void setDouble(string key, double val)
void setInt(string key, int val)
void setString(string key, string val)
void setUint(string key, uint val)
void setValue(string key, glib.variant.Variant value)
void unbind(string property)
gulong connectChanged(T)(string detail = null, T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == string))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : panel.layered_settings.LayeredSettings))) && Parameters!T.length < 3)Connect to `Changed` signal.
Constructors
this(void * ptr, Flag!"Take" take)
this(string schemaId, string path)
Methods
T path(string propval)
T schemaId(string propval)

Fluent builder for [panel.layered_settings.LayeredSettings]