Category
Object Hierarchy:
Description:
Namespace: AppStream
  
  Package: appstream
  
  Content:
Properties:
- public void* children { get; }
      
      
- public string icon { get; set; }
      
      
- public string id { get; set; }
      
      
- public string name { get; set; }
      
      
- public string summary { get; }
      
      
Creation methods:
- public Category ()
      
      Creates a new Category.
Methods:
- public void add_child (Category subcat)
      
      Add a subcategory to this category.
- public void add_component (Component cpt)
      
      Add a component to this category.
- public void add_desktop_group (string group_name)
      
      Add a desktop-file category to this Category.
- public unowned GenericArray<Category> get_children ()
      
      
- public unowned GenericArray<Component> get_components ()
      
      Get list of components which have been sorted into this category.
- public unowned GenericArray<string> get_desktop_groups ()
      
      
- public unowned string get_icon ()
      
      Get the stock icon name for this category.
- public unowned string get_id ()
      
      Get the ID of this category.
- public unowned string get_name ()
      
      Get the name of this category.
- public unowned string get_summary ()
      
      Get the summary (short description) of this category.
- public bool has_children ()
      
      Test for sub-categories.
- public bool has_component (Component cpt)
      
      Check if the exact Componentcptis a member of this category already.
- public void remove_child (Category subcat)
      
      Drop a subcategory from this Category.
- public void set_icon (string value)
      
      Set the stock icon name for this category.
- public void set_id (string id)
      
      Set the ID of this category.
- public void set_name (string value)
      
      Set the name of this category.
- public void set_summary (string value)
      
      Get the summary (short description) of this category.
Inherited Members:
All known members inherited from class GLib.Object