MenuItem.setImage

Sets the image the receiver will display to the argument. <p> Note: This operation is a hint and is not supported on platforms that do not have this concept (for example, Windows NT). </p>

@param image the image to display

@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 MenuItem
override
void
setImage

Meta