for (int i = 0; i<count; i++) width += getColumn(i).getWidth();
for (int i = 0; i<count; i++) { width += OS.gtk_clist_optimal_column_width(handle, i); }
public Point computeSize (int wHint, int hHint, boolean changed) {	checkWidget ();		/* Compute the height based on the items */	int height;	GtkStyle st = new GtkStyle ();	OS.memmove (st, OS.gtk_widget_get_style (handle));	if (hHint != SWT.DEFAULT) {		height = hHint;	} else {		height = getHeaderHeight();		height += OS.GTK_CLIST_ROW_HEIGHT (handle) * getItemCount();		height += 2 * st.ythickness;		height += hScrollBarWidth();		// FIXME - check for border	}		/* Compute the width based on the items */	int width;	if (wHint != SWT.DEFAULT) {		width = wHint;	} else {		width = 2 * st.xthickness;		int count = getColumnCount();		for (int i = 0; i<count; i++) width += getColumn(i).getWidth();		width += vScrollBarWidth();		// FIXME - check for border	}		/* In no event will we request ourselves smaller than the minimum OS size */	Point minimum = computeNativeSize (scrolledHandle, wHint, hHint, changed);	width = Math.max(width, minimum.x);	height = Math.max(height, minimum.y);		return new Point(width, height);}