SketchMorph

Alan Kay Alan.Kay at squeakland.org
Tue Nov 6 16:59:16 UTC 2001


Gary --

You can name your picture by getting its handles, clicking on the 
name at the bottom and typing a new name (such as 'mySketch') 
followed by return. Then you can say in the workspace:

       MyGlobal := World submorphNamed: 'mySketch'.

Cheers,

Alan

------

At 3:02 AM +0000 11/6/01, Gary McGovern wrote:
>
>
>----- Original Message -----
>From: <mailto:Alan.Kay at squeakland.org>Alan Kay
>To: 
><mailto:squeak-dev at lists.squeakfoundation.org>squeak-dev at lists.squeakfoundation.org
>Sent: Monday, November 05, 2001 3:04 AM
>Subject: Re: SketchMorph
>
>Here's how to do basic etoy scripting and painting ... 
><http://Squeakland.org:8080/super/208>http://Squeakland.org:8080/super/208
>
>To assign a variable to any player, get its viewer (via the blue eye 
>handle), then click on the menu icon
>
>next to the name of the player to get a pop up menu. At the top 
>select "add a new instance variable", it will prompt for the name, 
>and then show you the "instance variable category" with your new 
>variable in it.
>
>Cheers,
>
>Alan
>
>Thanks Alan,
>That proved useful, but I must have been writing too loosely. I 
>should probably have written "How can I make a variable reference 
>the SketchMorph object in a workspace through assignment."
>Regards,
>Gary


-- 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20011106/82563d1e/attachment.htm


More information about the Squeak-dev mailing list