If you had the MorphicWrappers package, the use case becomes very easy: 1- type in the air 'EllipseMorph new' to add the new morph to the world 2- put the mouse over the Ellipse morph and send messages directly to it (eg: 'self color: Color blue).
Actually, you don't even need to type 'self' as it is clear who the receiver is. - Francisco On Fri, Sep 2, 2011 at 7:27 AM, Michael Haupt <[email protected]>wrote: > Hi Jecel, > > Am 01.09.2011 um 15:17 schrieb Jecel Assumpcao Jr.: > > It is frustrating for me that while the Squeak VM could easily handle an > expression like > > myView add: <yellowEllipseMorph> copy. > > I have no way of typing that. I can't use any object as a literal nor as > input. In Etoys I can get close enough by getting a tile representing > the yellowEllpiseMorph from its halo and use that in expressions. In > Self I could add a constant slot with some easy to type value, like 0, > and then drag the arrow from that slot to point to the object I really > wanted. It was a bit indirect but it worked and I used this a lot. The > nice thing about having something like this is that you never need > global variable again. > > > umm … > > 1. Morph new openInWorld > 2. open an inspector on the morph > 3. in the inspector's evaluation pane, do, e.g., "Smalltalk at: #myMorph > put: self" > > Step 3 looks equivalent to dragging an arrow in Self. Not less indirect. > > Maybe I'm misunderstanding you. :-) > > Best, > > Michael > > -- > > [image: Oracle] <http://www.oracle.com/> > Dr. Michael Haupt | Principal Member of Technical Staff > Phone: +49 331 200 7277 | Fax: +49 331 200 7561 > Oracle Labs > Oracle Deutschland B.V. & Co. KG, Schiffbauergasse 14 | 14467 Potsdam, > Germany[image: Green Oracle] <http://www.oracle.com/commitment>Oracle is > committed to developing practices and products that help protect the > environment > > > _______________________________________________ > fonc mailing list > [email protected] > http://vpri.org/mailman/listinfo/fonc > >
_______________________________________________ fonc mailing list [email protected] http://vpri.org/mailman/listinfo/fonc
