Force refresh of GUI?

Hi,

It must be something easy but I can’t figure it out. After I update a TGLabel in my gui how do I force a refresh of the gui ? for the time being it will keep the former value until I resize the window.

Thank you,
Barth

Hi Barth,

gVirtualX->Update(0) should do.

Cheers, Axel.

Hi Axel,

Thank you for your very fast reply. I have tried your snippet but it didn’t work.

I"ll prepare a minimal example.

Cheers,
Barth

According to:
root.cern.ch/root/html602/TGLab … el:SetText
You need to call Layout()