Skip to content

Instantly share code, notes, and snippets.

@guillep
Created May 14, 2018 09:07
Show Gist options
  • Save guillep/10acba12517be9ebd43ad53f2160f989 to your computer and use it in GitHub Desktop.
Save guillep/10acba12517be9ebd43ad53f2160f989 to your computer and use it in GitHub Desktop.
How to add item to world menu
This is done via the "worldMenu" pragma.
Browse the senders of #worldMenu and you will see how this is done.
```
menuCommandOn: aBuilder
<worldMenu>
(aBuilder item: #Tools)
order: 1.0;
target: self;
help: 'Set of tools to get a better Pharo experience.';
iconName: #toolsIcon
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment