itools (mouse) events [message #59114] |
Tue, 04 March 2008 16:16 |
sjwelch
Messages: 5 Registered: October 2007
|
Junior Member |
|
|
Hi all,
(Running IDL 6.3 under WinXP Pro 32-bit)
I'm using iplot to construct a 2D scatter plot. What I want to do is
register a listener of some sort for mouse events such that when the
user clicks on a point in the plot, the coordinates of that point are
returned.
I've just spent an hour or so pouring through the itools code, looking
at the messaging system and I just can't (quickly at least) figure out
where to start. To which component do I add the observer (tool,
dataspace, view, plot)? Do I need to register my observer class
somewhere? I know there are a few readers with itools coding
experience, any ideas?
My experience is that it's very easy to get new stuff into itools
(inserting visualisations, etc) I hoped it would be as easy to get
stuff out, and it probably is if you know how.
Thanks for any ideas,
Sam
|
|
|