Constructor
AtkRelationnew
Declaration [src]
AtkRelation*
atk_relation_new (
AtkObject** targets,
gint n_targets,
AtkRelationType relationship
)
Description [src]
Create a new relation for the specified key and the specified list of targets. See also atk_object_add_relationship().
Parameters
targets |
An array of AtkObject* |
An array of pointers to
|
|
The length of the array is specified in the n_targets argument. | |
The data is owned by the caller of the function. | |
n_targets |
gint |
Number of |
|
relationship |
AtkRelationType |
An |
Return value
Returns: | AtkRelation |
A pointer to a new |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |