[Pythonmac-SIG] simple nib loading

Jack Nutting jnutting at rebisoft.com
Tue Apr 13 10:55:06 EDT 2004


Hi all,

I'm writing a little game using pygame, primarily as a python-learning 
exercise.  While my goal is to keep it cross-platform, I'd like to add 
platform-specific niceties such as a .nib file containing a proper menu 
etc for the Mac version.  I've tried to include a .nib file using 
bundlebuilder by including the nib in my 'resources' (it is 
successfully copied) and the '--nib' command-line option, but so far no 
good;  All I get is the bare-bones menu at the top.  All I want to do 
with the .nib is have a menu with an 'About' panel and such (no actual 
integration with the python code itself), so I don't want to get too 
deep into PyObjC issues or anything just yet.  Any ideas, anyone?

(the work-in-progress is available at 
http://www.nuthole.com/spinvaders.zip, feedback is welcome! )

//jack




More information about the Pythonmac-SIG mailing list