panel.layered_settings
Module for [LayeredSettings] class
Types 3
Methods
LayeredSettingsGidBuilder builder() static nothrowGet builder for [panel.layered_settings.LayeredSettings] Returns: New builder objectvoid append(gio.settings.Settings settings) nothrowvoid bind(string key, void * object, string property, gio.types.SettingsBindFlags flags) nothrowvoid bindWithMapping(string key, void * object, string property, gio.types.SettingsBindFlags flags, gio.types.SettingsBindGetMapping getMapping, gio.types.SettingsBindSetMapping setMapping) nothrowCreates a new binding similar to [gio.settings.Settings.bindWithMapping] but applying from the resolved value via the layered settings.bool getBoolean(string key) nothrowglib.variant.Variant getDefaultValue(string key) nothrowdouble getDouble(string key) nothrowint getInt(string key) nothrowgio.settings_schema_key.SettingsSchemaKey getKey(string key) nothrowGets the #GSettingsSchemaKey denoted by key.string getString(string key) nothrowuint getUint(string key) nothrowglib.variant.Variant getUserValue(string key) nothrowglib.variant.Variant getValue(string key) nothrowGets the value of key from the first layer that is modified.string[] listKeys() nothrowLists the available keys. Returns: an array of keys that can be retrieved from the #PanelLayeredSettings.void setBoolean(string key, bool val) nothrowvoid setDouble(string key, double val) nothrowvoid setInt(string key, int val) nothrowvoid setString(string key, string val) nothrowvoid setUint(string key, uint val) nothrowvoid setValue(string key, glib.variant.Variant value) nothrowvoid unbind(string property) nothrowgulong 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) nothrowConnect to `Changed` signal.Fluent builder implementation template for panel.layered_settings.LayeredSettings
Fluent builder for panel.layered_settings.LayeredSettings
Methods