Struct

ECalComponentPropertyBag

Description [src]

struct ECalComponentPropertyBag {
  /* No available fields */
}

Opaque structure, which represents a bad (list) of ICalProperty objects. Use the functions below to work with it.

Constructors

e_cal_component_property_bag_new

Creates a new ECalComponentPropertyBag. Free the structure with e_cal_component_property_bag_free(), when no longer needed.

since: 3.34

e_cal_component_property_bag_new_from_component

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.

since: 3.34

Instance methods

e_cal_component_property_bag_add

Adds a copy of the prop into the bag.

since: 3.34

e_cal_component_property_bag_assign

Assigns content of the src_bag into the bag.

since: 3.34

e_cal_component_property_bag_clear

Removes all properties from the bag, thus it doesn’t contain any property after this function returns.

since: 3.34

e_cal_component_property_bag_copy

Returns a newly allocated copy of bag, which should be freed with e_cal_component_property_bag_free(), when no longer needed.

since: 3.34

e_cal_component_property_bag_fill_component

Adds all the stored properties in the bag to the component. The function doesn’t verify whether the component contains the same property already.

since: 3.34

e_cal_component_property_bag_free

Free bag, previously created by e_cal_component_property_bag_new(), e_cal_component_property_bag_new_from_component() or e_cal_component_property_bag_copy(). The function does nothing, if bag is NULL.

since: 3.34

e_cal_component_property_bag_get

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.

since: 3.34

e_cal_component_property_bag_get_count
No description available.

since: 3.34

e_cal_component_property_bag_get_first_by_kind
No description available.

since: 3.34

e_cal_component_property_bag_remove

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.

since: 3.34

e_cal_component_property_bag_remove_by_kind

Removes the first or all (depending on the all) properties of the given kind.

since: 3.34

e_cal_component_property_bag_set_from_component

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.

since: 3.34

e_cal_component_property_bag_take

Adds the prop into the bag and assumes ownership of the prop.

since: 3.34