Top | ![]() |
![]() |
![]() |
![]() |
GsPluginJobListCategories is a GsPluginJob representing an operation to list categories.
All results will be refined using the given set of refine flags, similarly to how GsPluginJobRefine refines apps.
This class is a wrapper around GsPluginClass.refine_categories_async, calling it for all loaded plugins on the list of categories exposed by a GsCategoryManager.
Retrieve the resulting GPtrArray of GsCategory objects using
gs_plugin_job_list_categories_get_result_list()
.
See also: GsPluginClass.refine_categories_async
GsPluginJob *
gs_plugin_job_list_categories_new (GsPluginRefineCategoriesFlags flags
);
Create a new GsPluginJobListCategories for listing categories.
Since: 43
GPtrArray *
gs_plugin_job_list_categories_get_result_list
(GsPluginJobListCategories *self
);
Get the full list of categories.
If this is called before the job is complete, NULL
will be returned.
the job
results, or NULL
on error or if called before the job has completed.
[transfer none][nullable][element-type GsCategory]
Since: 43