Settings.newFull

Creates a new #GSettings object with a given schema, backend and path.

It should be extremely rare that you ever want to use this function. It is made available for advanced use-cases (such as plugin systems that want to provide access to schemas loaded from custom locations, etc).

At the most basic level, a #GSettings object is a pure composition of 4 things: a #GSettingsSchema, a #GSettingsBackend, a path within that backend, and a #GMainContext to which signals are dispatched.

This constructor therefore gives you full control over constructing #GSettings instances. The first 3 parameters are given directly as schema, backend and path, and the main context is taken from the thread-default (as per gio.settings.Settings.new_).

If backend is null then the default backend is used.

If path is null then the path from the schema is used. It is an error if path is null and the schema has no path of its own or if path is non-null and not equal to the path that the schema does have.

Parameters

schema gio.settings_schema.SettingsSchema

a #GSettingsSchema

backend gio.settings_backend.SettingsBackend

a #GSettingsBackend

path string

the path to use

Return Value

Type: gio.settings.Settings

a new #GSettings object