SpaceDrawer.bindMatrixSetting

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

Binds the #GtkSourceSpaceDrawer:matrix property to a #GSettings key.

The #GSettings key must be of the same type as the #GtkSourceSpaceDrawer:matrix property, that is, "au".

The [gio.settings.Settings.bind] function cannot be used, because the default GIO mapping functions don't support #GVariant 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.