Gtk.ComboBoxText.prototype.prepend

function prepend(id:String, text:String):void {
    // Gjs wrapper for gtk_combo_box_text_prepend()
}

Prepends text to the list of strings stored in combo_box. If id is non-null then it is used as the ID of the row.

This is the same as calling Gtk.ComboBoxText.prototype.insert with a position of 0.

Since 2.24

id

a string ID for this value, or null

text

a string