ComponentParameterBag.from_property


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "3.34" ) ]
public ComponentParameterBag.from_property (Property property, ComponentParameterBagFilterFunc? func)

Creates a new ComponentParameterBag, filled with parameters from the property, for which the func returned true.

When the func is null, all the parameters are included.

Free the structure with e_cal_component_parameter_bag_free, when no longer needed.

Parameters:

property

an Property containing the parameters to fill the bag with

func

an optional ecalcomponentparameterbagfilterfunc callback

user_data

user data for the func

Returns:

a newly allocated ComponentParameterBag