ignoreSelect = false;
if (OS.GTK_VERSION >= OS.VERSION (2, 4, 0)) { clearText (); for (int i = count - 1; i >= 0; i--) { OS.gtk_combo_box_remove_text (handle, i); } } else { ignoreSelect = true; OS.gtk_list_clear_items (listHandle, 0, -1); OS.gtk_entry_set_text (entryHandle, new byte[1]); ignoreSelect = false; }
public void removeAll () {	checkWidget();	ignoreSelect = true;	OS.gtk_list_clear_items (listHandle, 0, -1);	OS.gtk_entry_set_text (entryHandle, new byte[1]);	items = new String[0];	ignoreSelect = false;}