panel.settings
Module for [Settings] class
Types 3
Methods
SettingsGidBuilder builder() static nothrowGet builder for [panel.settings.Settings] Returns: New builder objectstring identifier() @property nothrowGet `identifier` property. Returns: The "identifier" property is used to make unique paths.panel.settings.Settings newRelocatable(string identifier, string schemaId, string schemaIdPrefix, string pathPrefix, string pathSuffix) static nothrowstring resolveSchemaPath(string schemaIdPrefix, string schemaId, string identifier, string pathPrefix, string pathSuffix) static 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 = null, gio.types.SettingsBindSetMapping setMapping = null) nothrowLike [panel.settings.Settings.bind] but allows transforming to and from settings storage using get_mapping and set_mapping transformation functions.bool getBoolean(string key) nothrowglib.variant.Variant getDefaultValue(string key) nothrowdouble getDouble(string key) nothrowint getInt(string key) nothrowstring getSchemaId() nothrowstring getString(string key) nothrowuint getUint(string key) nothrowglib.variant.Variant getUserValue(string key) nothrowglib.variant.Variant getValue(string key) nothrowvoid 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.settings.Settings)))
&& Parameters!T.length < 3) nothrowConnect to `Changed` signal.classSettingsGidBuilderImpl(T) : gobject.object.ObjectWrapGidBuilderImpl!T, gio.action_group.ActionGroupGidBuilderImpl!T
Fluent builder implementation template for panel.settings.Settings
Methods
T identifier(string propval) nothrowSet `identifier` property. Params: propval = The "identifier" property is used to make unique paths.T path(string propval) nothrowT pathPrefix(string propval) nothrowT pathSuffix(string propval) nothrowT schemaId(string propval) nothrowT schemaIdPrefix(string propval) nothrowFluent builder for panel.settings.Settings