get_components_by_extends
Description:
[ CCode ( cname = "as_pool_get_components_by_extends_gi" ) ]
[ Version ( since = "0.15.0" ) ]
public GenericArray<Component> get_components_by_extends (string extended_id)
[ 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).
This function fully transfers ownership of the returned container, to be used in GIR bindings.
Parameters:
this |
An instance of Pool. |
extended_id |
The ID of the component to search extensions for. |
Returns:
an array of Component objects. |