gda.tree_node
Module for [TreeNode] class
Types 4
Methods
TreeNodeGidBuilder builder()Get builder for [gda.tree_node.TreeNode] Returns: New builder objectstring name() @propertyvoid name(string propval) @propertygobject.value.Value fetchAttribute(string attribute)Get the value associated to the attribute named attribute for node. If the attribute is not set, then node's parents is queries (recursively up to the top level node).gda.tree_node.TreeNode getChildIndex(int index)Get the #GdaTreeNode child of node at position index (starting at 0).gda.tree_node.TreeNode getChildName(string name)Get the #GdaTreeNode child of node which has the #GDAATTRIBUTENAME set to namegda.tree_node.TreeNode[] getChildren()Get a list of all node's children, free it with [glib.slist.SList.free] after usage Returns: a new #GSList of #GdaTreeNode objects, or null if node does not have any childgobject.value.Value getNodeAttribute(string attribute)Get the value associated to the attribute named attribute for node. The difference with [gda.treenode.TreeNode.fetchAttribute] is that [gda.treenode.TreeNode.fetchAttribute] will also query node's ...gda.tree_node.TreeNode getParent()Get the #GdaTreeNode parent of node in the #GdaTree node belongs to. If node is at the top level, then this method return null. Returns: the parent #GdaTreeNodevoid setNodeAttribute(string attribute, gobject.value.Value value, glib.types.DestroyNotify destroy)Set the value associated to a named attribute. The attribute string is used AS IT IS by this method (eg. no copy of it is made), and the memory it uses will be freed using the destroy function when...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_node.TreeNode)))
&& 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_node.TreeNode)))
&& 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_node.TreeNode)))
&& 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_node.TreeNode)))
&& Parameters!T.length < 3)Connect to `NodeInserted` signal.Methods
T name(string propval)classTreeNodeException : ErrorWrap