Method

IdeBindingGroupbind

Declaration

void
ide_binding_group_bind (
  IdeBindingGroup* self,
  const gchar* source_property,
  GObject* target,
  const gchar* target_property,
  GBindingFlags flags
)

Description

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.

See: g_object_bind_property().

Parameters

source_property

Type: const gchar*

The property on the source to bind.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
target

Type: GObject

The target GObject.

The data is owned by the caller of the function.
target_property

Type: const gchar*

The property on target to bind.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
flags

Type: GBindingFlags

The flags used to create the GBinding.