Settings.this

Creates a new gtk.Settings 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 gtk.Settings object is a pure composition of 4 things: a gio.SettingsSchema, a gio.SettingsBackend, a path within that backend, and a glib.MainContext to which signals are dispatched.

This constructor therefore gives you full control over constructing gtk.Settings 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 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 SettingsSchema
backend SettingsBackend
path string

the path to use

Return Value

a new gtk.Settings object

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.32