ComponentAlarm
Object Hierarchy:
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "e_cal_component_alarm_get_type ()" ) ]
[ Compact ]
public class ComponentAlarm
Opaque structure, which represents alarm subcomponents.
Use the functions below to work with it.
Content:
Creation methods:
- public ComponentAlarm ()
Creates a new empty ComponentAlarm
structure.
- public ComponentAlarm.from_component (Component component)
Creates a new ComponentAlarm, filled with
values from component
, which should be of kind i_cal_valarm_component.
Methods:
- public ComponentAlarm copy ()
Returns a newly allocated copy of this
, which should be freed with e_cal_component_alarm_free
, when no longer needed.
- public void fill_component (Component component)
Fills component
with data from
this.
- public unowned Time? get_acknowledged ()
Get the last time the alarm had been acknowledged, that is, when its
reminder had been triggered.
- public ComponentAlarmAction get_action ()
- public Component get_as_component ()
Creates a VALARM Component filled with data
from the this.
- public unowned SList<Attach>? get_attachments ()
Get the list of attachments, as Attach.
- public unowned SList<ComponentAttendee>? get_attendees ()
- public unowned ComponentText? get_description ()
- public unowned ComponentPropertyBag get_property_bag ()
- public unowned ComponentAlarmRepeat? get_repeat ()
Get the this repeat information, as
an ECalComponentAlarmRepeat.
- public unowned ComponentText? get_summary ()
- public unowned ComponentAlarmTrigger? get_trigger ()
- public unowned string? get_uid ()
Get the this UID.
- public bool has_attachments ()
- public bool has_attendees ()
- public void set_acknowledged (Time? when)
Set the acknowledged time of the this
.
- public void set_action (ComponentAlarmAction action)
- public void set_attachments (SList<Attach>? attachments)
Set the list of attachments, as a SList of
an Attach.
- public void set_attendees (SList<ComponentAttendee>? attendees)
- public void set_description (ComponentText? description)
- public void set_from_component (Component component)
Fill the this structure with the
information from the component
, which should be of i_cal_valarm_component kind.
- public void set_repeat (ComponentAlarmRepeat? repeat)
- public void set_summary (ComponentText? summary)
- public void set_trigger (ComponentAlarmTrigger? trigger)
- public void set_uid (string? uid)
Set the this UID, or generates a new
UID, if uid
is null or an empty string.
- public void take_acknowledged (owned Time? when)
Set the acknowledged time of the this
.