Method
GtkComboBoxTextinsert
since: 3.0
Declaration [src]
void
gtk_combo_box_text_insert (
GtkComboBoxText* combo_box,
gint position,
const gchar* id,
const gchar* text
)
Description [src]
Inserts text at position in the list of strings stored in combo_box.
If id is non-NULL then it is used as the ID of the row. See
GtkComboBox:id-column.
If position is negative then text is appended.
Available since: 3.0
Parameters
position-
Type:
gintAn index to insert
text. id-
Type:
const gchar*A string ID for this value, or
NULL.The argument can be NULL.The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. text-
Type:
const gchar*A string to display.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string.