ECal.ComponentAlarmInstance¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class ECal.ComponentAlarmInstance¶
Opaque structure, which represents an alarm occurrence, i.e. a instance instance. Use the functions below to work with it.
- classmethod new(uid, instance_time, occur_start, occur_end)¶
- Parameters:
- Returns:
a newly allocated
ECal.ComponentAlarmInstance
- Return type:
Creates a new
ECal.ComponentAlarmInstance
structure, filled with the given values. Free the instance with e_cal_component_alarm_instance_free(), when no longer needed.New in version 3.34.
- copy()¶
- Returns:
a newly allocated copy of self
- Return type:
Returns a newly allocated copy of self, which should be freed with e_cal_component_alarm_instance_free(), when no longer needed.
New in version 3.34.
- get_component()¶
-
New in version 3.48.
- get_occur_end()¶
- Returns:
actual event occurrence end to which this self corresponds
- Return type:
New in version 3.34.
- get_occur_start()¶
- Returns:
actual event occurrence start to which this self corresponds
- Return type:
New in version 3.34.
- get_rid()¶
-
New in version 3.40.
- get_time()¶
- Returns:
alarm instance time, i.e. “5 minutes before the appointment”
- Return type:
New in version 3.34.
- set_component(component)¶
- Parameters:
component (
object
orNone
) – anECal.Component
orNone
Sets component as the component associated with the self. It can be
None
to unset it.New in version 3.48.
- set_occur_end(occur_end)¶
- Parameters:
occur_end (
int
) – event occurence end to set
Set the actual event occurrence end to which this self corresponds.
New in version 3.34.
- set_occur_start(occur_start)¶
- Parameters:
occur_start (
int
) – event occurence start to set
Set the actual event occurrence start to which this self corresponds.
New in version 3.34.
- set_rid(rid)¶
-
Set the Recurrence ID of the component this self was generated for.
New in version 3.40.