[ 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.
component |
an Component containing the properties to fill the bag with |
func |
an optional ecalcomponentpropertybagfilterfunc callback |
user_data |
user data for the |
a newly allocated ComponentPropertyBag |