[GOODIE] ButtonBar-nk.1.cs (was Re: creating a launcher morph)

Ned Konz ned at bike-nomad.com
Sun May 6 01:46:18 UTC 2001


On Saturday 05 May 2001 16:36, Aron Brener wrote:

> 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??

No, it sounds right. That is, it's the way I did it. Attached is a ChangeSet.

-- 
Ned Konz
currently: Stanwood, WA
email:     ned at bike-nomad.com
homepage:  http://bike-nomad.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ButtonBar-nk.1.cs.gz
Type: application/x-gzip
Size: 3745 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010505/3495562b/ButtonBar-nk.1.cs.bin


More information about the Squeak-dev mailing list