get_components_by_categories


Description:

[ CCode ( cname = "as_pool_get_components_by_categories_gi" ) ]
public GenericArray<Component> get_components_by_categories (string[] categories)

Return a list of components which are in one of the categories.

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

Parameters:

this

An instance of AsDatabase.

categories

An array of XDG categories to include.

Returns:

an array of Component objects which have been found.