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 [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Very nice. Doru On Wed, Aug 6, 2014 at 11:54 PM, Alexandre Bergel <[hidden email]> wrote: Hi! "Every thing has its own flow"
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Cool! But I have a question. 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 <[hidden email]> wrote:
Cheers, Leo PerardUniversity of Lille 1 _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Hi Leo,
There is not really a best way. Modifying the trachelShape or the shape and then doing an update are equivalent. Alexandre
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |