BindingGroup
Object Hierarchy:
Description:
[
CCode ( type_id =
"dzl_binding_group_get_type ()" ) ]
public class BindingGroup :
Object
BindingGroup manages to simplify the process of binding many properties from a
Object as a group.
As such there is no API to unbind a property from the group.
In particular, this allows you to change the source instance for the bindings. This automatically causes the unbinding of the properties
from the old instance and binding to the new instance.
This should not be confused with GtkBindingGroup.
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_full (string source_property, Object target, string target_property, BindingFlags flags, BindingTransformFunc? transform_to, owned BindingTransformFunc? transform_from)
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 void bind_with_closures (string source_property, Object target, string target_property, BindingFlags flags, Closure? transform_to, Closure? transform_from)
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? get_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