add_event


Description:

[ Version ( since = "0.7.0" ) ]
public void add_event (GContactEvent event)

Adds an event to the contact's list of events and increments its reference count.

Duplicate events will be added to the list, and multiple events with the same event type can be added to a single contact. Though it may not make sense for some event types to be repeated, adding them is allowed.

Parameters:

this

a ContactsContact

event

a GContactEvent to add