new nodes using mouse click

1 view
Skip to first unread message

David Epstein

unread,
Oct 24, 2009, 10:22:22 PM10/24/09
to guess-discuss
Hi everyone,


I'm new to using event handlers in general--especially in GUESS. I see
there are special events for mouse over a node.

But how about for mouse in canvas area but not over a node? This seems
to be the desirable prerequisite for adding a new node by mouse click.
How would I detect this situation and get the x,y location to put a
new node there?

I would use a running integer counter converted to string for the node
name.

Any advice would be helpful. Thank you.


-david
Reply all
Reply to author
Forward
0 new messages