Well there is or was a mac menu bar plugin
https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/platforms/iOS/plu...
you'll need to ensure your vm bundle contains that. I can't say where the smalltalk code you use to talk to it is, nor can I say how you would build the VM with that included.
---------------
Otherwise you need a VM that has the ObjectiveCPlugin plugin which I see the pharo people compile.
https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/src/plugins/ ObjectiveCPlugin/ObjectiveCPlugin.c
Then you need the smalltalk code
http://www.squeaksource.com/ObjectiveCBridge2.html
Then consider Apple's documentation
https://developer.apple.com/documentation/appkit/nsmenu
Perhaps someone has written the Smalltalk code to interface to NSMenu ?
On Fri, Sep 28, 2018 at 11:05 AM, Eliot Miranda eliot.miranda@gmail.com wrote:
Hi John, On Fri, Sep 28, 2018 at 10:57 AM John McIntosh <
johnmci@smalltalkconsulting.com> wrote:
When the Smalltalk starts up you can use the objective-c plugin or
perhaps the menu plugin (depends on if still supported) to alter the menu bar as you see fit.
Can you give more details?
Sent from my iPhone
On Sep 28, 2018, at 06:40, Christophe Demarey <
christophe.demarey@inria.fr> wrote:
Hi,
Would it be possible to ship OpenSmalltalk vm with a customizable menu? For example, OpenSmalltalk VM for Pharo looks like this picture:
It is very strange for users. Would it be possible to have a way to
customize menu entries? I think this part is encoded in MainMenu.nib.
It will also be useful to package end-user applications by allowing
developers to customize the application menu.
Regards, Christophe.
-- _,,,^..^,,,_ best, Eliot
-- =========================================================================== John M. McIntosh. Corporate Smalltalk Consulting Ltd https://www.linkedin.com/in/smalltalk ===========================================================================