Re: change directory title

Rene Brun (Rene.Brun@cern.ch)
Tue, 09 Jun 1998 12:32:05 +0200


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