Re: Problem setting the menu
Re: Problem setting the menu
- Subject: Re: Problem setting the menu
- From: "Felipe Monteiro de Carvalho" <email@hidden>
- Date: Mon, 6 Oct 2008 19:48:00 -0300
I searched a lot in google and I can only see that the exact method
that I tryed (using NSApp.setAppleMenu) works for some people and not
for others ... maybe it only works in some Mac OS X versions. I am
using Mac OS X 10.4.
Also I even tryed NSBundle.loadNibNamed_owner to load a simple nib but
it still doesn't work...
As asked, my code is available via public subversion:
svn co https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/bindings/objc
objc
svn co https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/bindings/pascocoa
pascocoa
Both are necessary. It is necessary to have the Free Pascal compiler
installed to build the software: http://www.freepascal.org/
After downloading you can create the bundle and compile the software
with the following commands:
cp pascocoa/examples/texteditor
./createbundle.sh
./make.sh
And run with
open texteditor.app
thanks,
--
Felipe Monteiro de Carvalho
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden