GimpConfig-utils

GimpConfig-utils

Synopsis

void                gimp_config_connect                 (GObject *a,
                                                         GObject *b,
                                                         const gchar *property_name);
void                gimp_config_connect_full            (GObject *a,
                                                         GObject *b,
                                                         const gchar *property_name_a,
                                                         const gchar *property_name_b);
void                gimp_config_disconnect              (GObject *a,
                                                         GObject *b);

Description

Details

gimp_config_connect ()

void                gimp_config_connect                 (GObject *a,
                                                         GObject *b,
                                                         const gchar *property_name);

Connects the two object a and b in a way that property changes of one are propagated to the other. This is a two-way connection.

If property_name is NULL the connection is setup for all properties. It is not required that a and b are of the same type. Only changes on properties that exist in both object classes and are of the same value_type are propagated.

a :

a GObject

b :

another GObject

property_name :

the name of a property to connect or NULL for all

gimp_config_connect_full ()

void                gimp_config_connect_full            (GObject *a,
                                                         GObject *b,
                                                         const gchar *property_name_a,
                                                         const gchar *property_name_b);

Connects the two object a and b in a way that property changes of one are propagated to the other. This is a two-way connection.

If property_name is NULL the connection is setup for all properties. It is not required that a and b are of the same type. Only changes on properties that exist in both object classes and are of the same value_type are propagated.

a :

a GObject

b :

another GObject

property_name_a :

the name of a property of a to connect

property_name_b :

the name of a property of b to connect

gimp_config_disconnect ()

void                gimp_config_disconnect              (GObject *a,
                                                         GObject *b);

Removes a connection between dest and src that was previously set up using gimp_config_connect().

a :

a GObject

b :

another GObject