Gtk.ComboBoxText.prototype.append

function append(id:String, text:String):void {
    // Gjs wrapper for gtk_combo_box_text_append()
}

Appends 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.insert with a position of -1.

Since 2.24

id

a string ID for this value, or null

text

A string