util_component_find_property_for_locale
Description:
[ Version ( since = "3.46" ) ]
public Property? util_component_find_property_for_locale (Component icalcomp, PropertyKind prop_kind, string? locale)
Searches properties of kind prop_kind
in the icalcomp
and returns one, which is usable for the locale
.
When locale
is null, the current locale is assumed. If no such property for the locale exists
either the one with no language parameter or the first found is returned.
Free the returned non-NULL Property with unref, when no longer needed.
Parameters:
icalcomp |
an Component |
prop_kind |
an PropertyKind to traverse |
locale |
a locale identifier, or null |
Returns:
a property of kind |
Namespace: ECal
Package: libecal-2.0