Tree
Object Hierarchy:
Description:
Namespace: Gda
Package: libgda-6.0
Content:
Properties:
Static methods:
- public static Quark error_quark ()
Creation methods:
- public Tree ()
Creates a new Tree object
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)
Get the TreeManager which created
node
in this - 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 intree
- public virtual signal void node_deleted (string node_path)
Gets emitted when a
node
has been removed fromtree
- 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 intree
Inherited Members:
All known members inherited from class GLib.Object