get_components_by_extends


Description:

[ Version ( since = "0.15.0" ) ]
public GenericArray<Component> get_components_by_extends (string extended_id)

Find components extending the component with the given ID.

They can then be registered to the Component they extend via as_component_add_addon. If the as_pool_flag_resolve_addons pool flag is set, addons are automatically resolved and this explicit function is not needed, but overall query time will be increased (so only use this flag if you will be resolving addon information later anyway).

Parameters:

this

An instance of Pool.

extended_id

The ID of the component to search extensions for.

Returns:

an array of Component objects.




2022 vala-language.org