I created
http://code.google.com/p/moose-technology/issues/detail?id=424
This is really strange. The MORoot is receiving the right event. I am currently
investigating
Cheers,
Alexandre
On 19 Jul 2010, at 10:31, Tudor Girba wrote:
Hi Veronica,
Thanks for reporting.
This is strange because Glamour just embeds the MOCanvas. Alex, are you doing something
special when it comes to the root?
Cheers,
Doru
On 16 Jul 2010, at 23:22, Veronica Isabel Uquillas Gomez wrote:
Hi,
Alex, was trying a similar example in the easel, and what i found is that the problem of
the "root interaction" is not in Mondrian but in Glamour.
Tudor, could you please take a look at this? (the first inspect does not work)
in the easel -> i can see the inspect of the root (first line).
view root interaction action: #inspect.
(1 to: 10) do: [:n |
view shape rectangle
borderColor:[ :each| Color blue ].
view interaction action: #inspect.
view node: n forIt: [
view interaction action: #inspect.
view node: (n * 2).
view shape rectangle withoutBorder.
view interaction action: #inspect.
view node: n forIt: [
view shape rectangle
borderColor:[ :each| Color green ].
view interaction action: #inspect.
view node: (n * 3) ].
view verticalLineLayout.
] ]
but if I draw this inside glamour can't
| browser |
browser := GLMTabulator withStatusbar.
browser column: #one.
browser showOn: #one; using: [
browser mondrian
painting: [:view :number|
view root interaction action: #inspect.
(1 to: number) do: [:n |
view shape rectangle
borderColor:[ :each| Color blue ].
view interaction action: #inspect.
view node: n forIt: [
view interaction action: #inspect.
view node: (n * 2).
view shape rectangle withoutBorder.
view interaction action: #inspect.
view node: n forIt: [
view shape rectangle
borderColor:[ :each| Color green ].
view interaction action: #inspect.
view node: (n * 3) ].
view verticalLineLayout.
] ]
] ].
browser openOn: 10
regards,
Veronica
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"No matter how many recipes we know, we still value a chef."
_______________________________________________
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
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.