ComponentPropertyBag.from_component


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "3.34" ) ]
public ComponentPropertyBag.from_component (Component component, ComponentPropertyBagFilterFunc? func)

Creates a new ComponentPropertyBag, 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.

Parameters:

component

an Component containing the properties to fill the bag with

func

an optional ecalcomponentpropertybagfilterfunc callback

user_data

user data for the func

Returns:

a newly allocated ComponentPropertyBag




2022 vala-language.org