ComboBoxText.insertText

void insertText(int position, string 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.combo_box_text.ComboBoxText.insert] with a null ID string.

Parameters

positionAn index to insert text
textA string

Deprecated

Use [gtk.drop_down.DropDown]