Method

GntEntryadd_to_history

Declaration [src]

void
gnt_entry_add_to_history (
  GntEntry* entry,
  const char* text
)

Description [src]

Add a text to the history list for the text. The history length for the entry box needs to be set first by gnt_entry_set_history_length.

Parameters

text

Type: const char*

A new entry for the history list.

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