prepend


Description:

public void prepend (string? id, string text)

Prepends text to 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.

This is the same as calling [method@Gtk.ComboBoxText.insert] with a position of 0.

Parameters:

this

A `GtkComboBox`

id

a string ID for this value

text

a string