int index = parent.indexOf (this); if (index == -1) return false; GtkCList gtkclist = new GtkCList(); OS.memmove(gtkclist, parent.handle, GtkCList.sizeof); int chandle=gtkclist.row_list; int data = OS.g_list_nth_data(chandle, index); GtkCListRow gtkrow = new GtkCListRow(); OS.memmove(gtkrow, data, GtkCListRow.sizeof); return (gtkrow.state == OS.GTK_STATE_SELECTED) ? true : false;
return _getChecked();
public boolean getChecked () {	checkWidget();	if ((parent.style & SWT.CHECK) == 0) return false;	int index = parent.indexOf (this);	if (index == -1) return false;	GtkCList gtkclist = new GtkCList();	OS.memmove(gtkclist, parent.handle, GtkCList.sizeof);	int chandle=gtkclist.row_list;	int data = OS.g_list_nth_data(chandle, index);	GtkCListRow gtkrow = new GtkCListRow();	OS.memmove(gtkrow, data, GtkCListRow.sizeof);	return (gtkrow.state == OS.GTK_STATE_SELECTED) ? true : false;}