Method

GntTreeget_selection_text

Declaration [src]

char*
gnt_tree_get_selection_text (
  GntTree* tree
)

Description [src]

Get the text displayed for the selected row.

See gnt_tree_get_row_text_list(), gnt_tree_get_selection_text_list().

Return value

Type: char*

The text, which needs to be freed by the caller.

The caller of the method takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.