GContactRelation
Description:
[ CCode ( has_construct_function = false ) ]
public GContactRelation (string name, string? relation_type, string? label)
public GContactRelation (string name, string? relation_type, string? label)
Creates a new GContactRelation.
More information is available in the gContact specification.
Exactly one of relation_type
and label
should be provided; the other must be null
.
Parameters:
name |
the name of the relation |
relation_type |
the type of relation, or |
label |
a free-form label for the type of relation, or |
Returns:
a new GContactRelation; unref with unref |