Re: change directory title

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Jun 09 1998 - 12:32:05 MEST


mayer@ik1.fzk.de wrote:
> 
> Dear Rooters
> 
> AFTER making a directory with TDirectory::mkdir("name", "dummy title") I need
> to change the title of that directory. I tried TDirectory::SetTitle("newtitle"),
> which actually worked, but the title is only changed in memory. After reopening
> the file the old dummy title (used with mkdir) is retrieved from the file. I
> tried TDirectory::Save() after SetTitle(), but without success.
> Is there a way to make the new directory title become written to the file?
> 
> Thanks in advance
> 
> Hajo.

Renaming a directory in a file is currently not implemented.
SetName sets only the name of a directory in memory as you have found.
Put on the list of things to do.

Rene Brun



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:33 MET