Package: gobject

GFlags g-binding-flags

Details

Flags to be passed to the g-object-bind-property or g-object-bind-property-full functions.

This enumeration can be extended at later date.
(define-g-flags "GBindingFlags" g-binding-flags
  (:export t
   :type-initializer "g_binding_flags_get_type")
  (:default 0)
  (:bidirectional 1)
  (:sync-create 2)
  (:invert-boolean 4))  
:default
The default binding. If the source property changes, the target property is updated with its value.
:bidirectional
Bidirectional binding. If either the property of the source or the property of the target changes, the other is updated.
:sync-create
Synchronize the values of the source and target properties when creating the binding. The direction of the synchronization is always from the source to the target.
:invert-bool
If the two properties being bound are booleans, setting one to true will result in the other being set to false and vice versa. This flag will only work for boolean properties, and cannot be used when passing custom transformation functions to the g-object-bind-property-full function.
 

See also

*2021-12-15