Hi, I'm using ROOT for about 2 years in order to develop multi-coincidence experiments based on Synhrotron Radiation in molecular physics. A part of the work is to write a User-Friendly-Interface (which is by essence almost impossible....). So, I used a lot the GUI demo and the root talk to get answer to my questions... I really thanks everyone for the impressive work done !!! However for about 1 month, I can't find a way to get access to mouse events in a TCanvas embedded in a TGTransientFrame, the so-called TRootEmbeddedCanvas. My aim is to give the (x,y) value of the mouse in an histogram (for instance to know the intensity and the position of a peak just by moving the mouse). With CINT, it is super easy: just create a TCanvas, and validate in the "Options" menu the "Event Status" ---------> How can I mange the same thing with an embedded canvas ? By the way, each time I'm going into more sophisticated concept: - default parameters for drawing objects (e.g. histogram, text....) - events control (keyboard, mouse) I get stuck in the nowhere land : it looks like there are so many functions to call, and without a complete set of examples, it's not so easy... Is the latest User Guide deals with those things ? I only have the v0.7.2. which is a good start but not enough to understand the complexity of ROOT. Thanks in advance, Best regard, M. Gisselbrecht
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:57 MET