Hola,
for my visualization, I want to be able to change the color of a shape after the view has
been opened, depending on a given condition. So I wrote something like below, where the
instvar lastview holds the view that was opened.
highlightNode: aName
|node|
node := lastview elementFromModel: aName.
node isNil ifFalse: [
node shape color: (Color red).
lastview signalUpdate.]
Sadly, I do not see the shape changing color to red. What can I do to have this working?
Thanks in advance,
---> Save our in-boxes!
http://emailcharter.org <---
Johan Fabry -
http://pleiad.cl/~jfabry
PLEIAD lab - Computer Science Department (DCC) - University of Chile