Class

AppStreamCategory

[]

Description

class AppStream.Category : GObject.Object
{
  /* No available fields */
}

No description available.

[]

Hierarchy

hierarchy this AsCategory ancestor_0 GObject ancestor_0--this
[]

Ancestors

[]

Constructors

as_category_new

Creates a new AsCategory.

[]

Instance methods

as_category_add_child

Add a subcategory to this category.

as_category_add_component

Add a component to this category.

as_category_add_desktop_group

Add a desktop-file category to this AsCategory.

as_category_get_children
No description available.

as_category_get_components

Get list of components which have been sorted into this category.

as_category_get_desktop_groups
No description available.

as_category_get_icon

Get the stock icon name for this category.

as_category_get_id

Get the ID of this category.

as_category_get_name

Get the name of this category.

as_category_get_summary

Get the summary (short description) of this category.

as_category_has_children

Test for sub-categories.

as_category_has_component

Check if the exact AsComponent cpt is a member of this category already.

as_category_remove_child

Drop a subcategory from this AsCategory.

as_category_set_icon

Set the stock icon name for this category.

as_category_set_id

Set the ID of this category.

as_category_set_name

Set the name of this category.

as_category_set_summary

Get the summary (short description) of this category.

Methods inherited from GObject (43)
[]

Properties

AppStream.Category:children
No description available.

AppStream.Category:icon
No description available.

AppStream.Category:id
No description available.

AppStream.Category:name
No description available.

AppStream.Category:summary
No description available.

[]

Signals

Signals inherited from GObject (1)

Class structure