Method

GntTreeget_row_text_list

Declaration [src]

GList*
gnt_tree_get_row_text_list (
  GntTree* tree,
  gpointer key
)

Description [src]

Get a list of text for a row.

See gnt_tree_get_selection_text_list(), gnt_tree_get_selection_text().

Parameters

key

Type: gpointer

A key corresponding to the row in question. If key is NULL, the text list for the selected row will be returned.

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

Return value

Type: A list of utf8

A list of texts of a row. The list and its data should be freed by the caller. The caller should make sure that if any column of the tree contains binary data, it’s not freed.

The caller of the method takes ownership of the data container, but not the data inside it.
Each element is a NUL terminated UTF-8 string.