Method

GLibNodeinsert_after

Declaration

GNode*
g_node_insert_after (
  GNode* parent,
  GNode* sibling,
  GNode* node
)

Description

Inserts a GNode beneath the parent after the given sibling.

This method is not directly available to language bindings.

Parameters

sibling

Type: GNode

The sibling GNode to place node after. If sibling is NULL, the node is inserted as the first child of parent.

The data is owned by the caller of the function.
node

Type: GNode

The GNode to insert.

The data is owned by the caller of the function.

Return value

Type: GNode

The inserted GNode.

The data is owned by the instance.