gda.tree_node
Module for [TreeNode] class
Types 4
Methods
TreeNodeGidBuilder builder() static nothrowGet builder for [gda.tree_node.TreeNode] Returns: New builder objectgobject.value.Value fetchAttribute(string attribute) nothrowGet 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) nothrowGet the #GdaTreeNode child of node at position index (starting at 0).gda.tree_node.TreeNode getChildName(string name) nothrowGet the #GdaTreeNode child of node which has the #GDA_ATTRIBUTE_NAME set to namegda.tree_node.TreeNode[] getChildren() nothrowGet 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) nothrowGet the value associated to the attribute named attribute for node. The difference with [gda.tree_node.TreeNode.fetchAttribute] is that [gda.tree_node.TreeNode.fetchAttribute] will also query node'...gda.tree_node.TreeNode getParent() nothrowGet 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) nothrowSet 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) 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_node.TreeNode)))
&& 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_node.TreeNode)))
&& 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_node.TreeNode)))
&& Parameters!T.length < 3) nothrowConnect to `NodeInserted` signal.Fluent builder implementation template for gda.tree_node.TreeNode
Methods
T name(string propval) nothrowFluent builder for gda.tree_node.TreeNode
classTreeNodeException : ErrorWrap