panel.settings

Module for [Settings] class

Types 3

Methods
GType _gType() @property
Settings self()Returns `this`, for use in `with` statements.
SettingsGidBuilder builder()Get builder for [panel.settings.Settings] Returns: New builder object
string identifier() @propertyGet `identifier` property. Returns: The "identifier" property is used to make unique paths.
string path() @property
string pathPrefix() @property
string pathSuffix() @property
string schemaId() @property
string schemaIdPrefix() @property
panel.settings.Settings newRelocatable(string identifier, string schemaId, string schemaIdPrefix, string pathPrefix, string pathSuffix)
panel.settings.Settings newWithPath(string identifier, string schemaId, string path)
string resolveSchemaPath(string schemaIdPrefix, string schemaId, string identifier, string pathPrefix, string pathSuffix)
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 = null, gio.types.SettingsBindSetMapping setMapping = null)Like [panel.settings.Settings.bind] but allows transforming to and from settings storage using getmapping and setmapping transformation functions.
bool getBoolean(string key)
double getDouble(string key)
int getInt(string key)
string getSchemaId()
string getString(string key)
uint getUint(string key)
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.settings.Settings))) && Parameters!T.length < 3)Connect to `Changed` signal.
Constructors
this(void * ptr, Flag!"Take" take)
this(string identifier, string schemaId)
Methods
T identifier(string propval)Set `identifier` property. Params: propval = The "identifier" property is used to make unique paths.
T path(string propval)
T pathPrefix(string propval)
T pathSuffix(string propval)
T schemaId(string propval)
T schemaIdPrefix(string propval)

Fluent builder for [panel.settings.Settings]

Methods