[Pyobjc-dev] Re: interface builder queries
Brought to you by:
ronaldoussoren
From: Michael H. <mw...@py...> - 2003-08-28 16:10:09
|
Michael Hudson <mw...@py...> writes: >> Python should also work, as long as IB is single threaded, see the >> EnvironmentPrefs example for a python based plugin. That's a plugin >> for System Preferences, but the mechanics should be simular for IB >> pallettes. > > Right, I'll see if I can blend an IBPalette example with the PyObjC > screensaver example. I'll try to package it up for the Examples/ > directory if I come up with anything useful. Well, after fixing what I think to be a couple of bugs in PyObjC, I've run into another problem. I think. It seems interface builder uses [NSBundle classNamed:] to find the palette class, and my Python classes aren't showing up to this function (it shows up as the result to [NSBundle principalClass], though). It may or may not be coincidental that when I register an observer for NSBundleDidLoadNotification I never see my Python classes go by... I'm way out of my depth here. Cheers, mwh -- Of the four project development variables - scope, cost, time and quality - quality isn't really a free variable. The only possible values are "excellent" and "insanely excellent", depending on whether lives are at stake. -- Kent Beck, XP Explained |