Dazzle.SettingsSandwich¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
Settings Path |
||
r/w/co |
Schema Id |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Dazzle.SettingsSandwich(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(schema_id, path)¶
- Parameters:
- Return type:
- append(settings)¶
- Parameters:
settings (
Gio.Settings
) –
- bind(key, object, property, flags)¶
- Parameters:
key (
str
) –property (
str
) –flags (
Gio.SettingsBindFlags
) –
- bind_with_mapping(key, object, property, flags, get_mapping, set_mapping, *user_data)¶
- Parameters:
key (
str
) – the settings key to bind. object (type GObject.Object.Object): the target object.property (
str
) – the property on object to apply.flags (
Gio.SettingsBindFlags
) – flags for the binding.get_mapping (
Gio.SettingsBindGetMapping
) – the get mapping functionset_mapping (
Gio.SettingsBindSetMapping
) – the set mapping functionuser_data (
object
orNone
) – user data for get_mapping and set_mapping.
Creates a new binding similar to g_settings_bind_with_mapping() but applying from the resolved value via the settings sandwich.
- set_value(key, value)¶
- Parameters:
key (
str
) –value (
GLib.Variant
) –
Property Details¶
- Dazzle.SettingsSandwich.props.path¶
- Name:
path
- Type:
- Default Value:
- Flags:
Settings Path