get_default_categories
Description:
[ CCode ( cname = "as_get_default_categories_gi" ) ]
public GenericArray<Category> get_default_categories (bool with_special)
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.
This function fully transfers ownership of the returned container, to be used in GIR bindings.
Parameters:
with_special |
Include special categories (e.g. "addons", and "all"/"featured" in submenus) |
Returns:
a list of Category |
Namespace: AppStream
Package: appstream