Thanks to all the discussion we are having, I am realizing that RTLabelled is wrongly
defined. This is not the way to go. What we need, (listen Doru), is a nice composition
mechanism for shapes.
What we have now works okay for other things than Label. Label do not work for now. I am
working on it right now…
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Apr 24, 2014, at 7:49 AM, Leo Perard <leo.perard(a)gmail.com> wrote:
Hi,
When I remove an element from the view and this element had an interaction RTLabelled,
the label is not removed.
| view el |
view := RTView new.
el := (RTBox new size: 20; color: Color blue) elementOn: 'Element'.
view add: el.
el @ RTLabelled.
el on: TRMouseClick do: [ :event | el remove. view canvas signalUpdate ].
view open
--
Leo Perard
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev