Dazzle.SettingsSandwich

g Dazzle.SettingsSandwich Dazzle.SettingsSandwich GObject.Object GObject.Object GObject.Object->Dazzle.SettingsSandwich

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (schema_id, path)

append (settings)

bind (key, object, property, flags)

bind_with_mapping (key, object, property, flags, get_mapping, set_mapping, *user_data)

get_boolean (key)

get_default_value (key)

get_double (key)

get_int (key)

get_string (key)

get_uint (key)

get_user_value (key)

get_value (key)

set_boolean (key, val)

set_double (key, val)

set_int (key, val)

set_string (key, val)

set_uint (key, val)

set_value (key, value)

unbind (property)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

path

str

r/w/co

Settings Path

schema-id

str

r/w/co

Schema Id

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Dazzle.SettingsSandwich(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Dazzle.SettingsSandwichClass

classmethod new(schema_id, path)
Parameters:
  • schema_id (str) –

  • path (str) –

Return type:

Dazzle.SettingsSandwich

append(settings)
Parameters:

settings (Gio.Settings) –

bind(key, object, property, flags)
Parameters:
bind_with_mapping(key, object, property, flags, get_mapping, set_mapping, *user_data)
Parameters:

Creates a new binding similar to g_settings_bind_with_mapping() but applying from the resolved value via the settings sandwich.

get_boolean(key)
Parameters:

key (str) –

Return type:

bool

get_default_value(key)
Parameters:

key (str) –

Return type:

GLib.Variant

get_double(key)
Parameters:

key (str) –

Return type:

float

get_int(key)
Parameters:

key (str) –

Return type:

int

get_string(key)
Parameters:

key (str) –

Return type:

str

get_uint(key)
Parameters:

key (str) –

Return type:

int

get_user_value(key)
Parameters:

key (str) –

Return type:

GLib.Variant

get_value(key)
Parameters:

key (str) –

Return type:

GLib.Variant

set_boolean(key, val)
Parameters:
set_double(key, val)
Parameters:
set_int(key, val)
Parameters:
set_string(key, val)
Parameters:
set_uint(key, val)
Parameters:
set_value(key, value)
Parameters:
unbind(property)
Parameters:

property (str) –

Property Details

Dazzle.SettingsSandwich.props.path
Name:

path

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Settings Path

Dazzle.SettingsSandwich.props.schema_id
Name:

schema-id

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Schema Id