Method

IdeTweaksBindingbind_with_transform

Declaration

void
ide_tweaks_binding_bind_with_transform (
  IdeTweaksBinding* self,
  gpointer instance,
  const char* property_name,
  IdeTweaksBindingTransform get_transform,
  IdeTweaksBindingTransform set_transform,
  gpointer user_data,
  GDestroyNotify notify
)

Description

Binds the value with an optional transform.

Parameters

instance

Type: gpointer

A GObject.

The argument can be NULL.
The data is owned by the caller of the method.
property_name

Type: const char*

A property of instance.

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

Type: IdeTweaksBindingTransform

An IdeTweaksBindingTransform or NULL.

The argument can be NULL.
set_transform

Type: IdeTweaksBindingTransform

An IdeTweaksBindingTransform or NULL.

The argument can be NULL.
user_data

Type: gpointer

Closure data for get_transform and set_transform.

The argument can be NULL.
The data is owned by the caller of the method.
notify

Type: GDestroyNotify

Closure notify for user_data.