MouseEnter event does not fire while entering a node. 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 [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
> MouseEnter event does not fire while entering a node.
Yes it does. You've just forgot to signal a refresh (view raw signalUpdate). 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 > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
On Mon, Jun 18, 2012 at 5:28 PM, Alexandre Bergel <[hidden email]> wrote:
Yes it was a problem in code. Thanx for pointer. Usman
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |