[ROOT] Can I make a TGraph non editable??

From: Ricardo Eusebi (eusebi@fnal.gov)
Date: Fri Apr 26 2002 - 22:00:36 MEST


Hi,

I have made a Canvas in which several TGraph's are plottted.
I'm  able to change (interactively) the range in which the graph are 
shown (just by clicking and dragging with the mouse on the axis ), which 
is a very nice feature, but at the same time I would like to NOT be able 
of changing interactively the position of the points  of the Graphs.

Setting the canvas to be non editable (using  
canvas->SetEditable(kFALSE)) does not help me, since I also loss the 
ability to change the range in which the the graph's are shown.

How can I set the Graph to non editable, while keeping the Canvas 
editable???


Thanks, for your always quick and precise response.

Ricardo

-- 
--------------------------------------------------------------------
Ricardo Eusebi
High Energy Physics
University of Rochester
Fermilab,  (630) 840 8622
--------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:51 MET