Created
May 14, 2018 09:07
-
-
Save guillep/10acba12517be9ebd43ad53f2160f989 to your computer and use it in GitHub Desktop.
How to add item to world menu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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