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
[ Compact ]
public class ComponentAlarm
Opaque structure, which represents alarm subcomponents.
Use the functions below to work with it.
Namespace: ECal
Package: libecal-2.0
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 ()
Get the this action, as an ComponentAlarmAction.
- 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 ()
Get the list of attendees, as ComponentAttendee.
- public unowned ComponentText? get_description ()
Get the this description, as an ComponentText.
- public unowned ComponentPropertyBag get_property_bag ()
- public unowned ComponentAlarmRepeat? get_repeat ()
Get the this repeat information, as an ECalComponentAlarmRepeat.
- public unowned ComponentText? get_summary ()
Get the this summary, as an ComponentText.
- public unowned ComponentAlarmTrigger? get_trigger ()
Get the this trigger, as an ComponentAlarmTrigger.
- 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)
Set the this action, as an ComponentAlarmAction.
- public void set_attachments (SList<Attach>? attachments)
- public void set_attendees (SList<ComponentAttendee>? attendees)
Set the list of attendees, as a SList of an ComponentAttendee.
- public void set_description (ComponentText? description)
Set the this description, as an ComponentText.
- 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)
Set the this repeat information, as an ComponentAlarmRepeat.
- public void set_summary (ComponentText? summary)
Set the this summary, as an ComponentText.
- public void set_trigger (ComponentAlarmTrigger? trigger)
Set the this trigger, as an ComponentAlarmTrigger.
- 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.