gda.tree_node

Module for [TreeNode] class

Types 4

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
TreeNode self() nothrowReturns `this`, for use in `with` statements.
TreeNodeGidBuilder builder() static nothrowGet builder for [gda.tree_node.TreeNode] Returns: New builder object
string name() @property nothrow
void name(string propval) @property nothrow
glib.types.Quark errorQuark() static nothrow
gobject.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 name
gda.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 child
gobject.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 #GdaTreeNode
void 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.
Constructors
this(void * ptr, Flag!"Take" take)
this(string name = null)Creates a new #GdaTreeNode object

Fluent builder implementation template for gda.tree_node.TreeNode

Methods
T name(string propval) nothrow

Fluent builder for gda.tree_node.TreeNode

Methods
TreeNode build() nothrowCreate object from builder. Returns: New object
Constructors
this(GError * err)
this(Code code, string msg)