add_alarm


Description:

[ Version ( since = "3.34" ) ]
public void add_alarm (ComponentAlarm alarm)

Adds an alarm subcomponent to a calendar component.

You should have created the alarm by using ComponentAlarm; it is invalid to use an ComponentAlarm structure that came from get_alarm. After adding the alarm, the alarm structure is no longer valid because the internal structures may change and you should get rid of it by using e_cal_component_alarm_free.

Parameters:

this

A calendar component.

alarm

an alarm, as an ComponentAlarm




2022 vala-language.org