Settings.this
this
(void * ptr, Flag!"Take" take)No documentation available for this declaration.
this
(string schemaId)Creates a new #GSettings object with the schema specified by schema_id.
It is an error for the schema to not exist: schemas are an essential part of a program, as they provide type information. If schemas need to be dynamically loaded (for example, from an optional runtime dependency), gio.settings_schema_source.SettingsSchemaSource.lookup can be used to test for their existence before loading them.
Signals on the newly created #GSettings object will be dispatched via the thread-default #GMainContext in effect at the time of the call to gio.settings.Settings.new_. The new #GSettings will hold a reference on the context. See glib.main_context.MainContext.pushThreadDefault.
Parameters
schemaId | the id of the schema |
Returns
a new #GSettings object