[newbie][q] authoringPrototype X newStandAlone
Leo Burd
leoburd at media.mit.edu
Thu Jul 4 01:16:03 UTC 2002
- Hi Ned,
Once again, thank you very much!!
Now my Morph seems to be working fine. The only thing is that, for some
reason, its being displayed as a blue rectangle in the ObjectsTool.
What shall I do for it to be presented with a little icon of its
picture?
Best,
Leo
------------------
From: Ned Konz <ned at bike-nomad.com>
To: squeak-dev at lists.squeakfoundation.org
Subject: Re: [newbie][q] authoringPrototype X newStandAlone
Date: Mon, 1 Jul 2002 13:18:16 -0700
Reply-To: squeak-dev at lists.squeakfoundation.org
On Monday 01 July 2002 12:02 pm, Leo Burd wrote:
> I'm having a hard time trying to understand the difference between
> authoringPrototype and newStandAlone. Do I need both of them in my
> code? Would anybody help me out?
If you want to work with the Objects tool, you need=20
descriptionForPartsBin and newStandAlone, and/or=20
supplementaryPartsDescriptions. See the class comment on ObjectsTool.=20
initializeForStandAlone is also used for the "sample instance" menu=20
choice from browsers if you have a descriptionForPartsBin.
I think you can skip authoringPrototype; it appears to just be used=20
for building some of the standard flaps. The default implementation=20
in Morph is to do a "new", but I don't think you'll find it called on=20
your own code.
--=20
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE
More information about the Squeak-dev
mailing list
|