Hi Brandon,
current win32gdk ROOT runs
in the same way as on linux.
I’ll try to describe it below:
… let’s run a progam …
#include “TCanvas.h”
#include “TH1.h”
int main(int argc, char** argv)
{
TApplication theApp(“TestGUI”,&argc,argv);
TCanvas c1(“c1”,“c1”,400,400);
TH1F hist1(“hist1”,“hist1”,100,0,100);
hist1.Fill(10);
hist1.Fill(20);
hist1.Fill(20);
hist1.Draw();
c1.Update();
…
at that point c1 canvas is drawn and “updated”.
You can see hist1 drawn in canvas.
…
//effect a pause - no refreshing at this point
getchar();
…
because of getchar() application doesn’t run and waits
for an input from console
… after pressing a key on keyboard application resumes …
TCanvas c2(“c2”,“c2”,400,400);
TH1F hist2(“hist2”,“hist2”,100,0,100);
hist2.Fill(20);
hist2.Fill(30);
hist2.Fill(30);
hist2.Draw();
c2.Update();
…
the second canvas is appeared with hist2 drawn.
… after pressing a key on keyboard application goes on …
//refreshing works from here on.
theApp.Run();
… now TApplication event loop started.
You can start graphics interaction from here, e.g.
“edit canvas”, “start TBrowser” etc.
As I mentioned this behaviour is “platform independent”.
You can see the same results under linux.
What else? Probably I didn’t not understand yours request, sorry.
Anyway thanks very much and have good holidays! Valeriy