Method

Gtk.ComboBoxText.prepend

Declaration [src]

void
gtk_combo_box_text_prepend (
  GtkComboBoxText* combo_box,
  const char* id,
  const char* text
)

Description [src]

Prepends 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 0.

Parameters

id const char*
 

a string ID for this value, or NULL

 Can be NULL
 Ownership is not transferred to the callee
 The string is a NUL terminated UTF-8 string
text const char*
 

a string

 Ownership is not transferred to the callee
 The string is a NUL terminated UTF-8 string