Method

GntTreeadd_row_after

Declaration [src]

GntTreeRow*
gnt_tree_add_row_after (
  GntTree* tree,
  void* key,
  GntTreeRow* row,
  void* parent,
  void* bigbro
)

Description [src]

Insert a row in the tree.

See gnt_tree_create_row(), gnt_tree_add_row_last(), gnt_tree_add_choice().

Parameters

key

Type: void*

The key for the row.

The argument can be NULL.
The data is owned by the caller of the function.
row

Type: GntTreeRow

The row to insert.

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

Type: void*

The key for the parent row.

The argument can be NULL.
The data is owned by the caller of the function.
bigbro

Type: void*

The key for the row to insert the new row after.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: GntTreeRow

The inserted row.

The caller of the method takes ownership of the data, and is responsible for freeing it.