yep, this is what I was looking for. Thanks. Still, it will be nice to have the method I suggested to replace the default menu. regards. On Mon, Jul 6, 2015 at 4:01 PM, Franck Warlouzet < franck.warlouzet@hotmail.fr> wrote:
Hi,
If I correctly understood, you want to add entries to the system window menu ? To do that, you can implement the method addModelItemsToWindowMenu: aMenu in your class if you want to extend the system window menu.
Franck
------------------------------ 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