if (OS.GTK_VERSION >= OS.VERSION (2, 4, 0)) { return OS.gtk_combo_box_get_active (handle); }
public int getSelectionIndex () {	checkWidget();	int index = 0, result = -1;	int /*long*/ children = OS.gtk_container_get_children (listHandle);	int /*long*/ temp = children;	while (temp != 0) {		int /*long*/ item = OS.g_list_data (temp);		if (OS.GTK_WIDGET_STATE (item) == OS.GTK_STATE_SELECTED) {			result = index;			break;		}		index++;		temp = OS.g_list_next (temp);	}		OS.g_list_free (children);	return result;}