SpaceDrawer.bindMatrixSetting

Binds the propertySpaceDrawer:matrix property to a gio.settings.Settings key.

The gio.settings.Settings key must be of the same type as the propertySpaceDrawer:matrix property, that is, "au".

The gio.settings.Settings.bind function cannot be used, because the default GIO mapping functions don't support glib.variant.VariantG properties (maybe it will be supported by a future GIO version, in which case this function can be deprecated).

class SpaceDrawer
void
bindMatrixSetting

Parameters

settings gio.settings.Settings

a #GSettings object.

key string

the settings key to bind.

flags gio.types.SettingsBindFlags

flags for the binding.