Here is an example on how to use RTActiveAnimation:
-=-=-= -=-=-= -=-=-= -=-=-=
c := OrderedCollection new.
v := RTView new.
v canvas addMenu: '+1' callback: [ c add: 42 ].
box := RTBox new element.
RTActiveAnimation new
blockToExecute: [
(v numberOfElements ~~ c size) ifTrue:
[ v clean.
v addAll: ((RTBox new size: 8; color: Color blue) elementsOn: c).
RTGridLayout on: v elements.
] ];
inView: v.
v
-=-=-= -=-=-= -=-=-= -=-=-=
Does this help?
Alexandre
On Nov 7, 2014, at 7:05 PM, jannik laval
<jannik.laval(a)gmail.com> wrote:
I have a graph with nodes that change.
I use RTActiveAnimation
Jannik
2014-11-07 15:01 GMT-03:00 Alexandre Bergel <alexandre.bergel(a)me.com>om>:
I do not remember why I suggested you to use RTAnimation. In which context?
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Nov 7, 2014, at 12:59 PM, jannik laval
<jannik.laval(a)gmail.com> wrote:
RTAnimation
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
~~Jannik Laval~~
École des Mines de Douai
Enseignant-chercheur
http://www.jannik-laval.eu
http://www.phratch.com
http://www.approchealpes.info
http://car.mines-douai.fr/
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.