insert


Description:

public void insert (int position, string? id, string text)

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

Note:

Use [class@Gtk.DropDown]

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:

this

A `GtkComboBoxText`

position

An index to insert text

id

a string ID for this value

text

A string to display