libappstream::functions

Function default_categories_gi

source
pub fn default_categories_gi(with_special: bool) -> Vec<Category>
Expand description

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.

§with_special

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

§Returns

a list of Category