Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Platform specific system icons for menus and toolbars

Hi,

is there a way to get system icons for SWT menu items? I'd like to have open, close, quit, cut, copy, paste, help, etc icons for my menu items on Gtk and Windows. I don't think Mac uses any icons in menus, but it needs them for toolbars.

There is Display.getSystemImage(int id), but it doesn't have many ids for icons, mainly to create nice looking dialogs.

I noticed that there are bugs related to this listed on Eclipse bug list (since 2005), see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=43689 (marked as duplicate of 93606)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=64138 (marked as duplicate of 93606)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=93606 (status new)

It is still open, does it mean there is no way to get system icons in SWT?

It would be nice to get access to system images and icons to create apps which really look and feel like other apps in Linux and Window. Menus without icons don't really look native to me. Also, toolbars require native system icons (file open, printing etc.)

Regards,
Kari


Back to the top