[ CCode ( has_construct_function = false ) ]
public GContactEvent (Date date, string? relation_type, string? label)
Creates a new GContactEvent.
More information is available in the gContact specification.
Exactly one of relation_type
and label
should be provided; the other must be null
.
date |
the date of the event |
relation_type |
the relationship between the event and its owner, or |
label |
a human-readable label for the event, or |
a new GContactEvent; unref with unref |