Live Update of Tree Viewer

Hi Everyone;
I’m using a scripts very similar to the treer.C and treew.C examples to
read files which are updating constantly. In this case, I have a small
GUI with a button so that the file is only updated when the button is pushed, and the tree is filled. However, I would like to be able to also update the
tree viewer. If I start the viewer for the tree, and then update, the
viewer is no longer valid; it corresponds to the tree prior to updating. I
can still plot updated tree parameters using the command line. If I
delete the tree viewer, I then get error if I try to plot again.
Does anyone know how to automatically update the tree viewer along with
the tree?

Also, is there a way to automatically update the tree periodically in
some sort of a background mode, so that the command line is
still free?

Hi Mike,

The TreeViewer is not able to update itself when the file changes. I agree that it would be nice to have a refresh button to do it.
We will implement this feature.