EntryCompletion.insertActionText

void insertActionText(int index, string text)

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.EntryCompletion.insertActionMarkup].

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.

Parameters

indexthe index of the item to insert
texttext of the item to insert