Re: [ROOT] Menu problem on Tcanvas

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Nov 21 2002 - 17:05:48 MET


Fons,

You did not read the mail. That is exactly what Micheal is proposing.

Rene


On 21 Nov 2002, Fons Rademakers wrote:

> Better solution is to make the menu's so that it shows the real name of
> the file that will be generated and not just the generic "canvas.ps" at
> least in that case you have a hint of what filename will be used.
> 
> I have added this on my todo list.
> 
> -- Fons
> 
> 
> 
> On Thu, 2002-11-21 at 08:39, Rene Brun wrote:
> > Hi Micheal,
> > 
> > The Pull down menu has a "Saveas canvas.C" item, but also
> > a "Save as" menu. If you select the latter, you can choose
> > your file name.
> > There are pros and cons with the default actions. We believe that
> > there are more pros with the current behaviour than cons.
> > In particular, if you have multiple canvases, it would have
> > plenty of bad side-effects to always generate a canvas with
> > the same name.
> > 
> > Rene Brun
> > 
> > On Wed, 20 Nov 2002, Micheal LeVine wrote:
> > 
> > > Hello,
> > > 
> > > I noticed that when I select the File pulldown menu item ³save as canvas.C²
> > > the macro that is created does not have the filename canvas.C, but rather
> > > the name supplied when the canvas was instantiated (name.C). This came as a
> > > nasty surprise since I already had a file by that name!
> > > 
> > > Micheal  
> > > -- 
> > > **************************************
> > > *    Micheal LeVine                  *
> > > *    Bat 513  R-060                  *
> > > *    Mailbox G03710                  *
> > > *    CERN                            *
> > > *    CH - 1211 Geneva 23 Switzerland *
> > > *    Email: Micheal.LeVine@cern.ch   *
> > > *    Phone: 41 22 767 5013           *
> > > *    Fax  : 41 22 767 3900           *
> > > **************************************
> > > 
> > > 
> -- 
> Org:    CERN, European Laboratory for Particle Physics.
> Mail:   1211 Geneve 23, Switzerland
> E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
> WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480
> 



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