SpaceDrawer.bindMatrixSetting

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 g_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).

class SpaceDrawer
void
bindMatrixSetting
(,
string key
,
GSettingsBindFlags flags
)

Parameters

settings Settings

a #GSettings object.

key string

the @settings key to bind.

flags GSettingsBindFlags

flags for the binding.

Meta

Since

3.24