Creates a new #ECalComponentPropertyBag. Free the structure with e_cal_component_property_bag_free(), when no longer needed.
Assigns content of the src_bag
into the bag
.
a source #ECalComponentPropertyBag
Removes all properties from the bag,
thus it doesn't contain any
property after this function returns.
Returns a newly allocated copy of bag,
which should be freed with
e_cal_component_property_bag_free(), when no longer needed.
Returns the #ICalProperty at the given index
. If the index
is
out of bounds (not lower than e_cal_component_property_bag_get_count()),
then %NULL is returned.
The returned property is owned by the bag
and should not be freed
by the caller.
an index of the property to get
Removes the #ICalProperty at the given index
. If the index
is
out of bounds (not lower than e_cal_component_property_bag_get_count()),
then the function does nothing.
an index of the property to remove
Removes the first or all (depending on the all)
properties of the given kind
.
an #ICalPropertyKind to remove
%TRUE to remove all properties of the kind,
or %FALSE to only the first
Fills the bag
with properties from the component,
for which the func
returned %TRUE. When the func
is %NULL, all the properties are included.
The bag
content is cleared before any property is added.
Creates a new #ECalComponentPropertyBag. Free the structure with e_cal_component_property_bag_free(), when no longer needed.
Creates a new #ECalComponentPropertyBag, filled with properties
from the component,
for which the func
returned %TRUE. When
the func
is %NULL, all the properties are included.
Free the structure with e_cal_component_property_bag_free(), when no longer needed.
Opaque structure, which represents a bad (list) of #ICalProperty objects. Use the functions below to work with it.