On Mon, Jun 18, 2012 at 5:28 PM, Alexandre Bergel alexandre.bergel@me.comwrote:
MouseEnter event does not fire while entering a node.
Yes it does. You've just forgot to signal a refresh (view raw signalUpdate).
Yes it was a problem in code. Thanx for pointer. Usman
Try this:
view := ROMondrianViewBuilder new. view shape rectangle size: 20. view interaction on: ROMouseEnter do: [ :event | view shape line color: Color blue. view edgesFrom: [ :i | i \ 2 ]. view raw signalUpdate ]. view nodes: (1 to: 20). view shape line. view treeLayout. view open -=-=-=-=-=-=-=-=-=
Cheers, Alexandre
This script shows the demonstrates the problem.
view := ROMondrianViewBuilder new. view shape rectangle size: 20. view interaction on: ROMouseEnter do: [ :event | view shape line color: Color blue. view edgesFrom: [ :i | i \ 2 ]. ]. view nodes: (1 to: 20). view shape line. view treeLayout. view open
tx, Usman Bhatti
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev