Thanks for the tips. I'll check those out. ~ Nathan
On 2/11/07, JoN <[EMAIL PROTECTED]> wrote:
Nathan - Take a look here, if you haven't already: http://pythonmac.org/ Also - the list AFP548 (just type that into google, the name is an apple in-joke), is a font of useful info. The web interface is bloody awful and there are a lot of snobs on there, but in between all that I've got some gold info in the past about doing deep stuff in OS X. Jon Quoting Nathan <[EMAIL PROTECTED]>: > On 2/11/07, JoN <[EMAIL PROTECTED]> wrote: > > You know I could _swear_ I'd seen a python API for talking to Aqua's menu > > systems. Take a look on the Apple site forums, or even the Darwin lists > maybe? > > Apple forums are notoriously unhelpful, but you may well find some > developers > > who will talk about this, and a lot of apple devel's are pythonauts too. > > I've had first-hand experience with the unhelpfulness of Apple site > forums, but I guess it's worth a try. (sigh) I was hoping there would > be standard menu-option stuff in PyGame itself. > > I looked around the PyObjc site, and I'm pretty sure I could add menu > items through it, since it seems to be a bridge to Cocoa stuff -- but > that's completely uncharted territory for me. > > Selecting the "Quit" item under my app's menu causes my checkers > program to spit the following error out to my terminal: > > 2007-02-10 11:20:10.197 python[9898] could not find associated NSMenu > for -20213 (item:9) > > So it would seem that PyObjc is already being used in some way since > the menu command reached python, and I never did anything to add the > menu item myself. > > ~ Nathan > -------------------------------------------------------------------- Come and visit Web Prophets Website at http://www.webprophets.net.au