Top | ![]() |
![]() |
![]() |
![]() |
AsCategory * | as_category_new () |
AsCategory * | as_category_construct () |
void | as_category_complete () |
const gchar * | as_category_get_directory () |
const gchar * | as_category_get_name () |
void | as_category_set_icon () |
void | as_category_set_name () |
const gchar * | as_category_get_summary () |
const gchar * | as_category_get_icon () |
void | as_category_add_subcategory () |
void | as_category_remove_subcategory () |
gboolean | as_category_has_subcategory () |
void | as_category_set_directory () |
GList * | as_category_get_included () |
GList * | as_category_get_excluded () |
gint | as_category_get_level () |
void | as_category_set_level () |
GList * | as_category_get_subcategories () |
This object represents an XDG category, as defined at: http://standards.freedesktop.org/menu-spec/menu-spec-1.0.htmlcategory-registry
The AsCategory object does not support all aspects of a menu. It's main purpose is to be used in software-centers to show information about application-groups, which are use to thematically group applications.
You can use AsMenuParser to get a set of supported default categories.
See also: AsMenuParser
AsCategory *
as_category_construct (GType object_type
);
Construct a new AsCategory.
void as_category_add_subcategory (AsCategory *self
,AsCategory *cat
);
void as_category_remove_subcategory (AsCategory *self
,AsCategory *cat
);
gboolean
as_category_has_subcategory (AsCategory *self
);
Test for sub-categories.