Hi Jannik,
What you can do, is something like:
viewAll addAll: self view1 elements.
viewAll addAll: self view2 elements.
viewAll addAll: self view3 elements.
This should work without any problem. Sorry for my slow answer. I am just back from a
trip.
Cheers,
Alexandre
On Oct 24, 2014, at 11:07 AM, jannik laval
<jannik.laval(a)gmail.com> wrote:
Hum, I will check this class.
Another question: I build 3 views in 3 different methods.
Now, I want to add these view in 1 view.
I tried to add them as:
==
viewAll add: self view1
viewAll add: self view2
viewAll add: self view3
===
But it does not work. A RTView does not accept another RTView.
What is the way to do that ?
Jannik
2014-10-24 15:59 GMT+02:00 Peter Uhnák <i.uhnak(a)gmail.com>om>:
Maybe he meant RTSpringLayoutStepping? There are couple examples for it in
RTRoassalExample.
On Fri, Oct 24, 2014 at 3:40 PM, jannik laval <jannik.laval(a)gmail.com> wrote:
Hi Alex,
I did not found the class RTSteppingLayout.
But I tried this script that do the job.
We can surely improve it:
===
| b el|
b := RTView new.
[el := RTElement forCollection: (PhaROSSystemInfo instance topicList).
el do:[:e | e + RTLabel.
"e @ RTDraggable."
].
b elements do:[:e | b removeElement: e].
b addAll: el.
RTGridLayout new on: el.
b signalUpdate.
] valueWithInterval: 1second.
b open.
===
2014-10-24 14:44 GMT+02:00 Alexandre Bergel <alexandre.bergel(a)me.com>om>:
Yes!! This is easy.
I suggest you to create an animation for this. Do not use thread, this is unnecessary. I
do not have my laptop with me. But you can get inspiration from the class
RTSteppingLayout.
Let me know how it goes
Alexandre
Le 24-10-2014 à 7:22, jannik laval <jannik.laval(a)gmail.com> a écrit :
Hi Alex,
In roassal I would like to follow an element and check its value every second.
Is there something in Roassal that do this stuff ?
Cheers,
--
~~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
_______________________________________________
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
_______________________________________________
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
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.