Gio.SettingsBindFlags
Flags used when creating a binding. These flags determine in which direction the binding works. The default is to synchronize in both directions.
- SettingsBindFlags.DEFAULT
Equivalent to <literal>G_SETTINGS_BIND_GET|G_SETTINGS_BIND_SET</literal>
- SettingsBindFlags.GET
Update the GObject.Object property when the setting changes. It is an error to use this flag if the property is not writable.
- SettingsBindFlags.SET
Update the setting when the GObject.Object property changes. It is an error to use this flag if the property is not readable.
- SettingsBindFlags.NO_SENSITIVITY
Do not try to bind a "sensitivity" property to the writability of the setting
- SettingsBindFlags.GET_NO_CHANGES
When set in addition to #G_SETTINGS_BIND_GET, set the GObject.Object property value initially from the setting, but do not listen for changes of the setting
- SettingsBindFlags.INVERT_BOOLEAN
When passed to Gio.Settings.prototype.bind, uses a pair of mapping functions that invert the boolean value when mapping between the setting and the property. The setting and property must both be booleans. You cannot pass this flag to Gio.Settings.bind_with_mapping.