:right-sidebar: True SettingsBindFlags =================================================================== .. currentmodule:: gi.repository.Gio .. class:: SettingsBindFlags :no-contents-entry: Flags used when creating a binding. These flags determine in which direction the binding works. The default is to synchronize in both directions. Fields ------ .. rst-class:: interim-class .. class:: SettingsBindFlags :no-index: .. attribute:: DEFAULT Equivalent to ``G_SETTINGS_BIND_GET|G_SETTINGS_BIND_SET`` .. attribute:: GET Update the :obj:`~gi.repository.GObject.Object` property when the setting changes. It is an error to use this flag if the property is not writable. .. attribute:: GET_NO_CHANGES When set in addition to :const:`~gi.repository.Gio.SettingsBindFlags.GET`, set the :obj:`~gi.repository.GObject.Object` property value initially from the setting, but do not listen for changes of the setting .. attribute:: INVERT_BOOLEAN When passed to :func:`~gi.repository.Gio.Settings.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 :func:`~gi.repository.Gio.Settings.bind_with_mapping`. .. attribute:: NO_SENSITIVITY Do not try to bind a "sensitivity" property to the writability of the setting .. attribute:: SET Update the setting when the :obj:`~gi.repository.GObject.Object` property changes. It is an error to use this flag if the property is not readable.