get_components_by_kind


Description:

[ CCode ( cname = "as_pool_get_components_by_kind_gi" ) ]
public GenericArray<Component> get_components_by_kind (ComponentKind kind)

Return a list of all components in the pool which are of a certain kind.

This function fully transfers ownership of the returned container, to be used in GIR bindings.

Parameters:

this

An instance of AsDatabase.

kind

An ComponentKind.

Returns:

an array of Component objects which have been found.