get_default_categories


Description:


public GenericArray<Category> get_default_categories (bool with_special)

Get a list of the default Freedesktop and AppStream categories that software components (especially GUI applications) can be sorted into in software centers.

Parameters:

with_special

Include special categories (e.g. "addons", and "all"/"featured" in submenus)

Returns:

a list of Category


Namespace: AppStream
Package: appstream



2022 vala-language.org