Community
Participate
Working Groups
build 20021030 Can we get API to obtain the correct platform-specific icons to show in dialogs (e.g. Info / Warning / Error)? We would like to be able to use these in JFace dialogs as well. See bug 22621 for more context.
Grant to investigate the possibility of doing this for 3.0. API should be something like Display.getSystemImage(SWT.ICON_WARNING) and this should return an Image object or null. Need this for SWT.ICON_*.
new Display.getSystemImage(int) api released > 0507
I tried this and found that I did not get an image for the SWT.ICON_WORKING icon see Display.. * @see SWT#ICON_WORKING * * @since 3.0 */ public Image getSystemImage (int id) {
mvm, I assume you mean that it answered an image that matched your ICON_INFO image? If so then this is by design, because only Motif defines a unique system image for WORKING.