insert

fun insert(position: <Error class: unknown class>, node: Node): Node(source)

Inserts a #GNode beneath the parent at the given position.

Return

the inserted #GNode

Parameters

position

the position to place @node at, with respect to its siblings If position is -1, @node is inserted as the last child of @parent

node

the #GNode to insert