GNOME Bugzilla – Bug 158511
Gtk::ComboBoxText should implement gtk_combo_box_remove_text () functionality
Last modified: 2009-11-21 01:13:02 UTC
Currently the only way to remove text items is to manipulate the model and upcast it to a Gtk::ListStore. This would allow removing of text items without exposing the implementation.
Yes. A patch would be welcome.
You can also use clear().
gtk_combo_box_remove_text() takes an int position, but we don't use numbered positions in our API. Nor we do allow insertion at particular points. I think it's OK to deman use of clear() and append() again. For more complex uses, people should probaby derive their own GtkComboBox anyway, instead of using this convenience class. But feel free to suggest a patch.