ComboBoxText.insert

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.

class ComboBoxText
void
insert
(,
string id
,
string text
)

Parameters

position int

An index to insert @text

id string

a string ID for this value, or %NULL

text string

A string to display

Meta