When I modify an element I (for example the color), I usually use the shape of the element, but then I have to update the element. In you example, you use the trachelShape and you do not update.What is the right way to do it ? Maybe RTElement should have a message color: which does it well?
_______________________________________________On Thu, Aug 7, 2014 at 6:46 AM, Tudor Girba <tudor@tudorgirba.com> wrote:
Very nice.Doru--On Wed, Aug 6, 2014 at 11:54 PM, Alexandre Bergel <alexandre.bergel@me.com> wrote:
Hi!
Leo, double clicks have been added to Roassal :-)
-=-=-=-=-=-=-=-=-=
| v es |
v := RTView new.
es := (RTBox new color: Color purple; size: 25) elementsOn: (1 to: 100).
es when: TRMouseDoubleClick do: [ :e | e element trachelShape color: Color red. v signalUpdate ].
v addAll: es.
RTGridLayout on: v elements.
v open.
-=-=-=-=-=-=-=-=-=
This is a contribution from Juan-Pablo Sandoval
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
"Every thing has its own flow"
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--Cheers,Leo PerardUniversity of Lille 1
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev