[Q] adding new tiles?
Anindita
anindita
Fri Apr 18 14:54:06 PDT 2003
Oh, excellent! Thanks so much!
I was looking in the instance variables and didn't see the method under
class variables.
:)
Anindita
On Sun, 14 Apr 2002, Ted Kaehler wrote:
> Anindita,
> See the method TextMorph class>>additionsToViewerCategories.
> That is where you need to add a line for each new tile you want.
> Make a duplicate of the inner array below, and edit it.
>
> #((basic "The category name in the viewer" (
> (slot characters "name on the tile"
> 'The characters in my contents' "balloon help string"
> String "Type that it returns"
> readWrite "both setting and getting"
> Player "put into viewers on objects of this class"
> getCharacters "getter selector (your method name goes here)"
> Player "put into viewers on objects of this class"
> setCharacters: "setter selector (your method name goes here)")
> "another slot" )))
>
> --Ted.
More information about the Squeakland
mailing list