[ CCode ( has_construct_function = false ) ]
public GContactEvent (Date date, string? relation_type, string? label)
Creates a new GContactEvent.
More information is available in the <ulink type="http" url="http://code.google.com/apis/contacts/docs/3.0/reference.html#gcEvent" >gContact specification</ulink>.
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 null |
| label |
a human-readable label for the event, or null |
|
a new GContactEvent; unref with unref |