UpdateStringMorph

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

UpdateStringMorph

Davide Arrigo
Hi all, I'll use a "space watcher' like the one described in Mark
Gudzial's squeak blue book, using UpdateStringMorph in a method like
this between {{ }} e.g:

{{
AOMView>>domainWatcher: anObject message:  aSymbol

"Show in an Update StringMorph the output of a message in a certain
object in AOM Domain
use it in this way, in a workspace:
AOMView domainWatcher: <target object name> message: #<message>."


| spaceWatcher |

spaceWatcher := UpdatingStringMorph new.
spaceWatcher stepTime: 10;
                               
                        target: anObject;
                       
                        getSelector: aSymbol.
                               
spaceWatcher openInWorld
}}

I want to send #aSymbol to getSelector with arguments (for example to
get an element from an Array), what I have to do?
in this way I can send only message with a method with no arguments
but I need a different behaviour.
Thanks to all.

Best Regards
--
--------------------------
Davide Arrigo
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners