control.setVisible (OS.gtk_expander_get_expanded (handle));
control.setVisible (expanded); if (OS.GTK_VERSION < OS.VERSION (2, 4, 0)) { int headerHeight = parent.getBandHeight (); control.setBounds (x + BORDER, y + headerHeight, Math.max (0, width - 2 * BORDER), Math.max (0, height - BORDER)); }
public void setControl (Control control) {	checkWidget ();	if (control != null) {		if (control.isDisposed ()) error (SWT.ERROR_INVALID_ARGUMENT);		if (control.parent != parent) error (SWT.ERROR_INVALID_PARENT);	}	if (this.control == control) return;	this.control = control;	if (control != null) {		control.setVisible (OS.gtk_expander_get_expanded (handle));	}	parent.relayout ();}