Category
Object Hierarchy:
Description:
[ CCode ( type_id = "as_category_get_type ()" ) ]
public class Category : Object
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
Component cpt
is 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
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref