GContactEvent
Description:
[ CCode ( has_construct_function = false ) ]
public GContactEvent (Date date, string? relation_type, string? label)
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
.
Parameters:
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 |
Returns:
a new GContactEvent; unref with unref |