insert_text


Description:

public void insert_text (int position, string text)

Inserts text at position in the list of strings stored in this.

Note:

Use [class@Gtk.DropDown]

If position is negative then text is appended.

This is the same as calling [method@Gtk.ComboBoxText.insert] with a null ID string.

Parameters:

this

A `GtkComboBoxText`

position

An index to insert text

text

A string