Tree
Object Hierarchy:
Description:
[ CCode ( type_id = "gda_tree_get_type ()" ) ]
public class Tree : Object
Content:
Properties:
Static methods:
Creation methods:
Methods:
- public void add_manager (TreeManager manager)
Sets manager
as a top
TreeManager object, which will be responsible for creating top level nodes in
this.
- public void clean ()
Removes any node in this
- public void dump (TreeNode? node, void* stream)
Dumps the contents of this to
stream
, using a hierarchical view.
- public unowned TreeNode? get_node (string tree_path, bool use_names)
Locates a TreeNode using
the tree_path
path.
- public unowned TreeManager get_node_manager (TreeNode node)
- public string get_node_path (TreeNode node)
Get the path associated to node
in
this.
- public SList<unowned TreeNode> get_nodes_in_path (string? tree_path, bool use_names)
The returned list is a list of all the
TreeNode nodes below
the node at the specified path.
- public void set_attribute (string attribute, Value value, DestroyNotify destroy)
Sets an attribute to this, which
will be accessible to any node in it.
- public bool update_all () throws Error
Requests that this be populated with
nodes.
- public bool update_children (TreeNode? node) throws Error
Update the children of node
in
this (not recursively, to update recursively, use
update_part).
- public bool update_part (TreeNode node) throws Error
Requests that this be populated with
nodes, starting from node
Signals:
- public virtual signal void node_changed (TreeNode node)
Gets emitted when a node
has changed in tree
- public virtual signal void node_deleted (string node_path)
Gets emitted when a node
has been removed from tree
- public virtual signal void node_has_child_toggled (TreeNode node)
Gets emitted when a node
has has a child when it did not
have any or when it does not have a ny children anymore when it had some
- public virtual signal void node_inserted (TreeNode node)
Gets emitted when a node
has been inserted in tree
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