Method
GntTreeadd_row_last
Declaration [src]
GntTreeRow*
gnt_tree_add_row_last (
GntTree* tree,
void* key,
GntTreeRow* row,
void* parent
)
Description [src]
Insert a row at the end of the tree.
See gnt_tree_create_row(), gnt_tree_add_row_after(), 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.
Return value
Type: GntTreeRow
The inserted row.
The caller of the method takes ownership of the data, and is responsible for freeing it. |