Package: gio

GFlags gio:settings-bind-flags

Declaration

(gobject:define-gflags "GSettingsBindFlags" settings-bind-flags
  (:export t
   :type-initializer "g_settings_bind_flags_get_type")
  (:default 0)
  (:get 1)
  (:set 2)
  (:no-sensitivity 4)
  (:get-no-changes 8)
  (:invert-boolean 16))  

Values

:default
Equivalent to '(:get :set)
:get
Update the GObject property when the setting changes. It is an error to use this flag if the property is not writable.
:set
Update the setting when the GObject property changes. It is an error to use this flag if the property is not readable.
:no-sensitivity
Do not try to bind a "sensitivity" property to the writability of the setting.
:get-no-changes
When set in addition to :get, set the GObject property value initially from the setting, but do not listen for changes of the setting.
:invert-boolean
When passed to the g:settings-bind function, 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 the g:settings-bind-with-mapping function.

Details

Flags used when creating a binding. These flags determine in which direction the binding works. The default is to synchronize in both directions.
 

See also

2025-12-25