bb...@ma... (bb...@ma...) wrote:
> On Tuesday, Feb 11, 2003, at 15:02 US/Eastern, Gus Mueller wrote:
> >However, when I try and run it, I get the following message:
> >"Unknown Window class PydgetWindow in Interface Builder file,
> > creating generic Window instead"
>
> Assuming that PydgetWindow is implemented in a python file, did you
> load the file/module before the NIB file was loaded?
>
> That is, are you sure that the class is defined prior to loading the
> NIB file?
>
> You can simply add 'import PydgetWindow' in __main__.py [assuming that
> is the name of the source file]...
It wasn't a python file, it was a compiled objc class.. but I did what
you described, and that worked just fine.
But now I'm slightly curious why the other way didn't work. Maybe I'll
play with it a little bit more.
thanks,
-gus
--
"Christmas means carnage!" -- Ferdinand, the duck
|