BindingGroup
Object Hierarchy:
Description:
[
CCode ( type_id =
"G_TYPE_BINDING_GROUP" ) ]
[
Version ( since =
"2.72" ) ]
public class BindingGroup :
Object
`GBindingGroup` can be used to bind multiple properties from an object collectively.
Use the various methods to bind properties from a single source object to multiple destination objects. Properties can be bound
bidirectionally and are connected when the source object is set with [method@GObject.BindingGroup.set_source].
Content:
Properties:
Creation methods:
Methods:
- public void bind (string source_property, Object target, string target_property, BindingFlags flags)
Creates a binding between source_property on the source
object and target_property on target.
- public void bind_property (string source_property, Object target, string target_property, BindingFlags flags, owned BindingTransformFunc? transform_to = null, owned BindingTransformFunc? transform_from = null)
Creates a binding between source_property on the source
object and target_property on target, allowing you to set the transformation functions to be used by the
binding.
- public unowned Object? dup_source ()
Gets the source object used for binding properties.
- public void set_source (Object? source)
Sets source as the source object used for creating
property bindings.
Inherited Members:
All known members inherited from class GLib.Object