Back to Seed Clases

Gio


Classes

Interfaces

Structs

Unions

Enums

Struct Gio.SettingsBackend

Import line: Gio = imports.gi.Gio;
GIR File: Gio-2.0.gir
C documentation: GSettingsBackend
Struct : SettingsBackend
The GSettingsBackend interface defines a generic interface for
non-strictly-typed data that is stored in a hierarchy. To implement
an alternative storage backend for GSettings, you need to implement
the GSettingsBackend interface and then make it implement the
extension point G_SETTINGS_BACKEND_EXTENSION_POINT_NAME.
The interface defines methods for reading and writing values, a
method for determining if writing of certain values will fail
(lockdown) and a change notification mechanism.
The semantics of the interface are very precisely defined and
implementations must carefully adhere to the expectations of
callers that are documented on each of the interface methods.
Some of the GSettingsBackend functions accept or return a GTree.
These trees always have strings as keys and GVariant as values.
g_settings_backend_create_tree() is a convenience function to create
suitable trees.

The GSettingsBackend API is exported to allow third-party
implementations, but does not carry the same stability guarantees
as the public GIO API. For this reason, you have to define the
C preprocessor symbol G_SETTINGS_ENABLE_BACKEND before including
gio/gsettingsbackend.h
Properties
None
Public Methods
None
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gio.Settings
Method
new Gio.Settings.with_backend (String schema, SettingsBackend backend) : Gio.Settings
Create a new Gio.Settings
Gio.Settings
Method
new Gio.Settings.with_backend_and_path (String schema, SettingsBackend backend, String path) : Gio.Settings
Create a new Gio.Settings
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:11:29 GMT+0800 (HKT)