insertText

open fun insertText(position: <Error class: unknown class>, text: String)(source)

⚠️ Deprecated ⚠️

This is deprecated since version 4.10.

Use class@Gtk.DropDown

---

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 method@Gtk.ComboBoxText.insert with a null ID string.

Parameters

position

An index to insert @text

text

A string