Method

GtkComboBoxTextinsert_text

since: 2.24

Declaration [src]

void
gtk_combo_box_text_insert_text (
  GtkComboBoxText* combo_box,
  gint position,
  const gchar* text
)

Description [src]

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_insert() with a NULL ID string.

Available since: 2.24

Parameters

position

Type: gint

An index to insert text.

text

Type: const gchar*

A string.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.