insert

open fun insert(position: Int, id: String? = null, text: String)

Inserts @text at @position in the list of strings stored in @combo_box.

If @id is non-null then it is used as the ID of the row. See property@Gtk.ComboBox:id-column.

If @position is negative then @text is appended.

Parameters

position

An index to insert @text

id

a string ID for this value

text

A string to display