int  children = OS.gtk_container_get_children (listHandle); int  item = OS.g_list_nth_data (children, index); int  label = OS.gtk_bin_get_child (item); OS.gtk_label_set_text (label, buffer); OS.g_list_free (children); ignoreSelect = false;
if (OS.GTK_VERSION >= OS.VERSION (2, 4, 0)) { OS.gtk_combo_box_remove_text (handle, index); OS.gtk_combo_box_insert_text (handle, index, buffer); } else { ignoreSelect = true; int  children = OS.gtk_container_get_children (listHandle); int  item = OS.g_list_nth_data (children, index); int  label = OS.gtk_bin_get_child (item); OS.gtk_label_set_text (label, buffer); OS.g_list_free (children); ignoreSelect = false; }
public void setItem (int index, String string) {	checkWidget();	if (string == null) error (SWT.ERROR_NULL_ARGUMENT);	if (!(0 <= index && index < items.length)) {		error (SWT.ERROR_INVALID_ARGUMENT);	}	items [index] = string;	ignoreSelect = true;	byte [] buffer = Converter.wcsToMbcs (null, string, true);	int /*long*/ children = OS.gtk_container_get_children (listHandle);	int /*long*/ item = OS.g_list_nth_data (children, index);	int /*long*/ label = OS.gtk_bin_get_child (item);	OS.gtk_label_set_text (label, buffer);	OS.g_list_free (children);	ignoreSelect = false;}