Method
GtkSourceSpaceDrawerbind_matrix_setting
Declaration [src]
void
gtk_source_space_drawer_bind_matrix_setting (
GtkSourceSpaceDrawer* drawer,
GSettings* settings,
const gchar* key,
GSettingsBindFlags flags
)
Description [src]
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).
Parameters
settings-
Type:
GSettingsA
GSettingsobject.The data is owned by the caller of the method. key-
Type:
const gchar*The
settingskey to bind.The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. flags-
Type:
GSettingsBindFlagsFlags for the binding.