Class

IdeBindingGroup

Description

final class Ide.BindingGroup : GObject.Object {
  /* No available fields */
}

IdeBindingGroup manages to simplify the process of binding many properties from a GObject 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.

Ancestors

Constructors

ide_binding_group_new

Creates a new IdeBindingGroup.

Instance methods

ide_binding_group_bind

Creates a binding between source_property on the source object and target_property on target. Whenever the source_property is changed the target_property is updated using the same value. The binding flags #G_BINDING_SYNC_CREATE is automatically specified.

ide_binding_group_bind_full

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. The binding flags

G_BINDING_SYNC_CREATE is automatically specified.

ide_binding_group_bind_with_closures

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. The binding flags

G_BINDING_SYNC_CREATE is automatically specified.

ide_binding_group_get_source

Gets the source object used for binding properties.

ide_binding_group_set_source

Sets source as the source object used for creating property bindings. If there is already a source object all bindings from it will be removed.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Ide.BindingGroup:source

The source object used for binding properties.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct IdeBindingGroupClass {
  GObjectClass parent_class;
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.