Re: [Pyobjc-dev] Subclassing in Interface Builder
Brought to you by:
ronaldoussoren
From: Dinu G. <gh...@da...> - 2003-02-21 12:15:45
|
Tony Lownds: > I am making a subclass of NSImageView in interface builder. The=20 > subclass does get made but overrided initializers don't seem to get=20 > called: > > class MyImageView(AutoBaseClass): > =A0=A0=A0 def initWithFrame_(self, frame): > =A0=A0=A0=A0=A0=A0=A0 self =3D NSImageView.initWithFrame_(self, frame) > =A0=A0=A0=A0=A0=A0=A0 print "never gets here" > =A0=A0=A0=A0=A0=A0=A0 return self > > Has anyone seen this before? On 7 Jan. 2003 I posted a message titled "QuickTimeViewer demo using PyObjC!" which will point you to an example implementing something like this: http://python.net/~gherman/#QuickTimeViewer Dinu -- Dinu C. Gherman ...................................................................... "Fais de ta vie un r=EAve, et d'un r=EAve, une r=E9alit=E9." (Antoine de Saint-Exup=E9ry) |