Enumeration (GI Flags)

Gio-2.0GioSettingsBindFlags

Flags used when creating a binding.

These flags determine in which direction the binding works. The default is to synchronize in both directions.

Index

Enumeration Members

DEFAULT: number

Equivalent to G_SETTINGS_BIND_GET|G_SETTINGS_BIND_SET

GET: number

Update the GObject.Object property when the setting changes. It is an error to use this flag if the property is not writable.

GET_NO_CHANGES: number

When set in addition to Gio.SettingsBindFlags.GET, set the GObject.Object property value initially from the setting, but do not listen for changes of the setting

INVERT_BOOLEAN: number

When passed to 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 Gio.Settings.bind_with_mapping.

NO_SENSITIVITY: number

Do not try to bind a ‘sensitivity’ property to the writability of the setting

SET: number

Update the setting when the GObject.Object property changes. It is an error to use this flag if the property is not readable.