Re: [ROOT] Fw: is there an SIMPLE way to switch of user interaction in TCAnvas ??

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Feb 21 2002 - 09:01:03 MET


Hi Joe,

Use TPad::SetEditable(kFALSE)

Rene Brun

Joe Robe wrote:
> 
>    Part 1.1       Type: Plain Text (text/plain)
>               Encoding: quoted-printable
Hi Rooters,

I did implement some custom ExecuteEvent on a TGraph subclass. The problem is,
that this does not work (some graph info will be shown in a TLabel on mouse down
over a Graph) since TCAnvas allows by default user interaction and dragging into
a graph area with mouse down moves the TFrame.

I could now subclass all objects in TCanvas and override ExecuteEvent, but is
there not a simple way to switch all user interaction off ?

Joe



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