[Vm-dev] Customize OS X App

Javier Diaz-Reinoso javier_diaz_r at mac.com
Fri Sep 28 21:01:32 UTC 2018


I am using the mac menu plugin in SqPronterface, I have a screenshot of running in a iBook PPC:

> https://sourceforge.net/projects/sqpronterface/ <https://sourceforge.net/projects/sqpronterface/>
but because I am interested in running in old PPC macs I use the old interpreter, not tested with Cog.

> On 28 Sep 2018, at 14:38, John McIntosh <johnmci at smalltalkconsulting.com> wrote:
> 
> Well there is or was a mac menu bar plugin
> 
> https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/platforms/iOS/plugins/MacMenubarPlugin/MacMenuOS9ToOSX.m <https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/platforms/iOS/plugins/MacMenubarPlugin/MacMenuOS9ToOSX.m>
> 
> 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 <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 <http://www.squeaksource.com/ObjectiveCBridge2.html>
> 
> 
> 
> Then consider Apple's documentation 
> 
> https://developer.apple.com/documentation/appkit/nsmenu <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 at gmail.com <mailto:eliot.miranda at gmail.com>> wrote:
> >
> >  
> > Hi John,
> > On Fri, Sep 28, 2018 at 10:57 AM John McIntosh <johnmci at smalltalkconsulting.com <mailto:johnmci at 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 at inria.fr <mailto:christophe.demarey at 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 <https://www.linkedin.com/in/smalltalk>
> ===========================================================================

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20180928/95484aa6/attachment-0001.html>


More information about the Vm-dev mailing list