Method

GntTreecreate_row_from_list

Declaration [src]

GntTreeRow*
gnt_tree_create_row_from_list (
  GntTree* tree,
  GList* list
)

Description [src]

Create a row from a list of text.

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

Parameters

list

Type: A list of utf8

The list containing the text for each column.

The data is owned by the caller of the function.
Each element is a NUL terminated UTF-8 string.

Return value

Type: GntTreeRow

The row.

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