creating a launcher morph

Sven Delaney delaneysven at hotmail.com
Sat May 5 23:52:00 UTC 2001


i agree.

i was immediately curious to learn how halos worked but like a ver y hi tech 
it seemed magical.

however i did learn how to apply a block to a bag.

kinda like apply-lambda

-- sigh do not ask.


>From: Aron Brener <brener at home.com>
>Reply-To: squeak at cs.uiuc.edu
>To: squeak at cs.uiuc.edu
>Subject: creating a launcher morph
>Date: Sat, 5 May 2001 19:36:39 -0400
>
>Hi everybody. I hope someone can help me or point me in the right 
>direction.
>I need to make a simple launcher, just a couple of buttons. One would
>create an instance of a class and thew others send some messages to
>the instance.
>(Actually in one case I need to get some input from the user, just a
>number. I'm assuming there's an easy way to do that, but i'm not
>there yet)
>
>I was looking at a tutorial on how to create a traffic light, and it
>got me only so far. Right now I have a subclass of Aligment morph
>with a couple of BasicButtons, but that's it.
>Should I be subclassing the basic buttons? How trap the button down
>event from one of the buttons and send a message to my AlignmentMorph
>subclass?
>
>Am I approaching this completely the wrong way??
>
>One of the problems I have with morphs is that there seems to be a
>lot of "magic" going on behind the scenes, and there's no
>comprehensive tutorial or a reference guide, or something like that.
>Every time I try to look at what's going on it just overwhelms me.
>
>So much for my rant. Any help will be greatly appreciated!!
>
>Ari
>--
>-------------------------------------------------------------------------
>Aron Brener, BASc	|   Caminante no hay camino,
>brener at home.com	|   se hace camino al andar.
>			|                 	Antonio Machado
>-------------------------------------------------------------------------
>miliHelen: Quantity of beauty required to launch one ship.
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.





More information about the Squeak-dev mailing list