Gtk.ComboBoxText.prototype.insert_text
function insert_text(position:Number, text:String):void { // Gjs wrapper for gtk_combo_box_text_insert_text() }
Inserts text at position in the list of strings stored in combo_box.
If position is negative then text is appended.
This is the same as calling Gtk.ComboBoxText.prototype.insert with a null ID string.
Since 2.24
- position
An index to insert text
- text
A string