Method
Gtk.ComboBoxText.insert
Declaration [src]
void
gtk_combo_box_text_insert (
GtkComboBoxText* combo_box,
int position,
const char* id,
const char* 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.
Parameters
position |
int |
An index to insert |
|
id |
const char* |
a string ID for this value, or |
|
Can be NULL | |
Ownership is not transferred to the callee | |
The string is a NUL terminated UTF-8 string | |
text |
const char* |
A string to display |
|
Ownership is not transferred to the callee | |
The string is a NUL terminated UTF-8 string |