To do that, you can implement the method addModelItemsToWindowMenu: aMenu in your class if you want to extend the system window menu.
Date: Mon, 6 Jul 2015 15:53:48 +0200
From: usman.bhatti@gmail.com
To: pharo-users@lists.pharo.org
Subject: [Pharo-users] customizing SystemWindow menu
Hi,
I wanted to customize system window menu and I could not find a relevant method to change the default pragma used for menu generation. So, I thought it will be nice to have this utility method on SystemWindow if possible:
SystemWindow>>menuPragmaNamed: aPragmaName model: aModel
menuBuilder := PragmaMenuBuilder pragmaKeyword: aPragmaName model: aModel
May be there is some other, simpler way to achieve it that I missed?
regards,
usman