Settings.newWithPath

gio.settings.Settings newWithPath(string schemaId, string path)

Creates a new #GSettings object with the relocatable schema specified by schema_id and a given path.

You only need to do this if you want to directly create a settings object with a schema that doesn't have a specified path of its own. That's quite rare.

It is a programmer error to call this function for a schema that has an explicitly specified path.

It is a programmer error if path is not a valid path. A valid path begins and ends with '/' and does not contain two consecutive '/' characters.

Parameters

schemaIdthe id of the schema
paththe path to use

Returns

a new #GSettings object