ToolItem.setSelection

Sets the selection state of the receiver. <p> When the receiver is of type <code>CHECK</code> or <code>RADIO</code>, it is selected when it is checked (which some platforms draw as a pushed in button). </p>

@param selected the new selection state

@exception SWTException <ul> <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> </ul>

class ToolItem
void
setSelection
()

Meta