TreeManager.createNode

gda.tree_node.TreeNode createNode(gda.tree_node.TreeNode parent = null, string name = null)

Requests that manager creates a new #GdaTreeNode. The new node is not in any way linked to manager yet, consider this method as a #GdaTreeNode factory.

This method is usually used when implementing a #GdaTreeManagerNodesFunc function (to create nodes), or when subclassing the #GdaTreeManager.

Parameters

parentthe parent the new node may have, or null
namename given to the new node, or null

Returns

a new #GdaTreeNode