gda.tree
Module for [Tree] class
Types 4
classTree : gobject.object.ObjectWrap
Methods
bool isList() @property nothrowGet `isList` property. Returns: Tells if the GdaTree is a list or a tree.void addManager(gda.tree_manager.TreeManager manager) nothrowSets manager as a top #GdaTreeManager object, which will be responsible for creating top level nodes in tree.void dump(gda.tree_node.TreeNode node = null, void * stream = null) nothrowDumps the contents of tree to stream, using a hierarchical view.gda.tree_node.TreeNode getNode(string treePath, bool useNames) nothrowLocates a #GdaTreeNode using the tree_path path.gda.tree_manager.TreeManager getNodeManager(gda.tree_node.TreeNode node) nothrowGet the #GdaTreeManager which created node in treegda.tree_node.TreeNode[] getNodesInPath(string treePath, bool useNames) nothrowThe 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) nothrowSets 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 nodegulong 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) nothrowConnect 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) nothrowConnect 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) nothrowConnect 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) nothrowConnect to `NodeInserted` signal.Fluent builder implementation template for gda.tree.Tree
Fluent builder for gda.tree.Tree
classTreeException : ErrorWrap