Method

GtkEntryCompletioninsert_action_text

since: 2.4

Declaration [src]

void
gtk_entry_completion_insert_action_text (
  GtkEntryCompletion* completion,
  gint index_,
  const gchar* text
)

Description [src]

Inserts an action in completion’s action item list at position index_ with text text. If you want the action item to have markup, use gtk_entry_completion_insert_action_markup().

Note that index_ is a relative position in the list of actions and the position of an action can change when deleting a different action.

Available since: 2.4

Parameters

index_

Type: gint

The index of the item to insert.

text

Type: const gchar*

Text of the item to insert.

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