Module: Gio::SettingsBindFlags

Defined in:
(unknown)

Constant Summary collapse

DEFAULT =

Equivalent to G_SETTINGS_BIND_GET|G_SETTINGS_BIND_SET

0 or :default
GET =

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

1 or :get
SET =

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

2 or :set
NO_SENSITIVITY =

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

4 or :no_sensitivity
GET_NO_CHANGES =

When set in addition to [flagsGio.SettingsBindFlags.GET],
set the [classGObject.Object] property
value initially from the setting, but do not listen for changes of the setting

8 or :get_no_changes
INVERT_BOOLEAN =

When passed to [methodGio.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 [methodGio.Settings.bind_with_mapping].

16 or :invert_boolean