ContextMenus

From: Otto Schaile <Otto.Schaile_at_Physik.uni-muenchen.de>
Date: Mon, 27 Jun 2005 08:56:20 +0200 (CEST)


Dear Rooters,
I have:
class ControlGraph : public TGraph ...
..
public:

   SetFactor(Int_t point_number, Float_t factor); // *MENU*

If a point on the graph is clicked with the right mouse the menu pops up with "SetFactor" being in the list.

Now my question:
Is there a way to find out (in SetFactor) which point is clicked or as an alternative px, py of the point?

Cheers
Otto

-- 
Dr. Otto Schaile            Department f"ur Physik, LMU M"unchen
Phone: +49 89 289 14070     Am Coulombwall 1, D-85748 Garching, Germany
Mobil: +49 160 1553598
FAX:   +49 89 289 14072     EMail: Otto.Schaile_at_Physik.Uni-Muenchen.DE
Received on Mon Jun 27 2005 - 08:56:27 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:09 MET