| Top |
This is a popup menu item displaying an icon and a text. The icon is displayed to the left of the text. PopupImageMenuItem is a similar, deprecated item, that displays the icon to the right of the text, which is ugly in most cases. Do not use it. If you think you need to display the icon on the right, make your own menu item (by copy and pasting the code found below) because PopupImageMenuItem is deprecated and may disappear any time.
setIconSymbolicName (string iconName);
Changes the icon to a symbolic icon with name iconName.
setIconName (string iconName);
Changes the icon to a full color icon with name iconName.