SpaceDrawer.bindMatrixSetting

void bindMatrixSetting(gio.settings.Settings settings, string key, gio.types.SettingsBindFlags flags)

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.Variant] properties (maybe it will be supported by a future GIO version, in which case this function can be deprecated).

Parameters

settingsa #GSettings object.
keythe settings key to bind.
flagsflags for the binding.