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 <emphasis>below</emphasis> 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