Method

GLibNodeinsert_after

Declaration [src]

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

Description [src]

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 method.
node

Type: GNode

The GNode to insert.

The data is owned by the caller of the method.

Return value

Type: GNode

The inserted GNode.

The returned data is owned by the instance.