TCanvas : switch background/foreground

Hi rooters,

Is there any function to switch a canvas between background and foreground ?

I mean, my macro plots something on a TCanvas, which is “upper” than the xterm where it was launched. But the plot needs some arguments to end. So I’d like to keep the canvas behind the xterm until the plot finishes, and then to switch them.

How should I do ?

Thanks.

Is it not something more related to the way your window manager is set up ? may be you should tune it in a way that the Canvas is not pup up each time something new is plotted in it. Just a guess …

Maybe, but if this is the case, I don’t know how to do and as I’m not the root user, I think I’m not able to configure it…

Thank you anyway.