[Pyobjc-dev] nswindow subclass
Brought to you by:
ronaldoussoren
From: Gus M. <gu...@mu...> - 2003-02-11 20:02:56
|
I searched the archives for "nswindow", so apologies if this has already been answered already... I created a new Cocoa-Python Application, compiled it and it worked fine, I then wanted to see if I could make the window a custom one (for some silly ideas I've got).. so I created a custom class called PydgetWindow that extended NSWindow, and made the Window instance in the MainMenu.nib file a custom class of the same type (PydgetWindow). However, when I try and run it, I get the following message: "Unknown Window class PydgetWindow in Interface Builder file, creating generic Window instead" This technique works out fine for a regular objc project, is this something that is possible with pyobjc ? thanks, -gus -- "Christmas means carnage!" -- Ferdinand, the duck |