Method

GtkComboBoxTextappend

since: 2.24

Declaration [src]

void
gtk_combo_box_text_append (
  GtkComboBoxText* combo_box,
  const gchar* id,
  const gchar* text
)

Description [src]

Appends text to the list of strings stored in combo_box. If id is non-NULL then it is used as the ID of the row.

This is the same as calling gtk_combo_box_text_insert() with a position of -1.

Available since: 2.24

Parameters

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.

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