create_node


Description:

[ Version ( since = "4.2" ) ]
public TreeNode create_node (TreeNode? parent, string? name)

Requests that this creates a new TreeNode.

The new node is not in any way linked to this yet, consider this method as a TreeNode factory.

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

Parameters:

this

a TreeManager

parent

the parent the new node may have, or null

name

name given to the new node, or null

Returns:

a new TreeNode




2022 vala-language.org