Gtk.EntryCompletion.prototype.insert_action_text
function insert_action_text(index_:Number, text:String):void { // Gjs wrapper for gtk_entry_completion_insert_action_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.EntryCompletion.prototype.insert_action_markup.
Since 2.4
- index_
the index of the item to insert
- text
text of the item to insert