方法
GtkComboBoxTextinsert
已弃用:4.10
声明 [源代码]
void
gtk_combo_box_text_insert (
GtkComboBoxText* combo_box,
int position,
const char* id,
const char* text
)
描述 [源代码]
在存储在 combo_box 中的字符串列表中插入 text 到 position 位置。
如果 id 非空,则用作行的 ID。请参阅 GtkComboBox:id-column。
如果 position 为负值,则将 text 添加到末尾。
自 4.10 版本起弃用
请使用 GtkDropDown。