[etoys-dev] FW: : Etoys 5.0 question
narayans at uncw.edu
Tue Jun 5 17:18:18 EDT 2012
Thanks, Bert. Took me a little while to understand "morph's player"...Anyway, now it works.
- Sridhar -
From: Bert Freudenberg [mailto:bert42 at gmail.com] On Behalf Of Bert Freudenberg
Sent: Monday, June 04, 2012 7:01 AM
To: Narayan, Sridhar
Cc: etoys dev
Subject: Re: [etoys-dev] : Etoys 5.0 question
On 03.06.2012, at 02:20, Narayan, Sridhar wrote:
> When I open the viewer on the LabPro morph, it has the additional category named "labpro" that we added. However, there is nothing visible under this category. [...] I have checked the additionsToViewerCategories method in the LabPro class, and all the code for adding channel1, channel2 etc, which correspond to the various analog channels on the LabPro, to the labpro category is there.
Make sure that your morph's player actually understands the methods you specified. E.g., if you have this slot definition:
(slot foo 'Foo help' Number readWrite Number getFoo Number setFoo:)
then your morph's player must understand "getFoo" and "setFoo:". Otherwise the messages would fail, and so they are hidden.
- Bert -
More information about the etoys-dev