gda.tree

Module for [Tree] class

Types 4

Methods
GType _gType() @property
Tree self()Returns `this`, for use in `with` statements.
TreeGidBuilder builder()Get builder for [gda.tree.Tree] Returns: New builder object
bool isList() @propertyGet `isList` property. Returns: Tells if the GdaTree is a list or a tree.
void addManager(gda.tree_manager.TreeManager manager)Sets manager as a top #GdaTreeManager object, which will be responsible for creating top level nodes in tree.
void clean()Removes any node in tree
void dump(gda.tree_node.TreeNode node = null, void * stream = null)Dumps the contents of tree to stream, using a hierarchical view.
gda.tree_node.TreeNode getNode(string treePath, bool useNames)Locates a #GdaTreeNode using the tree_path path.
gda.tree_manager.TreeManager getNodeManager(gda.tree_node.TreeNode node)Get the #GdaTreeManager which created node in tree
string getNodePath(gda.tree_node.TreeNode node)Get the path associated to node in tree.
gda.tree_node.TreeNode[] getNodesInPath(string treePath, bool useNames)The returned list is a list of all the #GdaTreeNode nodes <emphasis>below</emphasis> the node at the specified path.
void setAttribute(string attribute, gobject.value.Value value, glib.types.DestroyNotify destroy)Sets an attribute to tree, which will be accessible to any node in it.
bool updateAll()Requests that tree be populated with nodes. If an error occurs, then tree's contents is left unchanged, and otherwise tree's previous contents is completely replaced by the new one. Returns: TRUE i...
bool updateChildren(gda.tree_node.TreeNode node = null)Update the children of node in tree (not recursively, to update recursively, use [gda.tree.Tree.updatePart]). If node is null then the top level nodes are updated.
bool updatePart(gda.tree_node.TreeNode node)Requests that tree be populated with nodes, starting from node
gulong connectNodeChanged(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gda.tree_node.TreeNode))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gda.tree.Tree))) && Parameters!T.length < 3)Connect to `NodeChanged` signal.
gulong connectNodeDeleted(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == string))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gda.tree.Tree))) && Parameters!T.length < 3)Connect to `NodeDeleted` signal.
gulong connectNodeHasChildToggled(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gda.tree_node.TreeNode))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gda.tree.Tree))) && Parameters!T.length < 3)Connect to `NodeHasChildToggled` signal.
gulong connectNodeInserted(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gda.tree_node.TreeNode))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gda.tree.Tree))) && Parameters!T.length < 3)Connect to `NodeInserted` signal.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new #GdaTree object Returns: a new #GdaTree object

Fluent builder for [gda.tree.Tree]

Methods
Constructors
this(GError * err)
this(Code code, string msg)