Hi Glen, There is already a function TPad::SetEditable and IsEditable. I have added some lines of code to prevent adding new primitives in a pad or clearing the pad when the SetEditable flag is turned off. The mods are in the CVS head. Rene Brun On Thu, 24 May 2001, Glen R. Salo wrote: > Hi All, > > Is there a convenient way to "lock" a canvas (i.e., prevent a canvas from > being redrawn)? For example, when I create a GUI with a canvas, I > generally do not want anything but the GUI to draw onto that canvas. > However, if I start a TTree Viewer, it will overdraw the GUI canvas unless > I create a new canvas. Any suggestions? > > Thanks, > > Glen >
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:46 MET