Hello,
I sent this message yesterday but it does not seem to have made it to the list. Apologies if this message is a duplicate.
I have a file tmp.C that loads another file Gui.C via:
gROOT->Reset();
gROOT->ProcessLine(".L Gui.C"); // Setup gui
When I begin a fresh root session the commands:
root [0] .x tmp.C
.x tmp.C
root [1] gui();
gui();
do as expected - the gui opens and responds to the (only!) button it contains, which closes it.
If I then do:
root [2] .x tmp.C
.x tmp.C
reloading /home/rmason/Programming/rootmac/./ReadFile.C 0
reloading Riostream.h 0
reloading RConfig.h 0
reloading RVersion.h 0
reloading fstream.h 0
reloading iomanip.h 0
reloading /home/rmason/Programming/rootmac/./fitFunction.C 0 reloading /home/rmason/Programming/rootmac/./MySpectrum.C 0 reloading /home/rmason/Programming/rootmac/./WriteParams.C 0 reloading /home/rmason/Programming/rootmac/./ReadParams.C 0 reloading /home/rmason/Programming/rootmac/./Gui.C 0reloading RQ_OBJECT.h 0
reloading /usr/local/lib/root/libASImage.so 0 reloading /home/rmason/Programming/rootmac/./CountLines.C 0 reloading /home/rmason/Programming/rootmac/./Gui.C 0reloading RQ_OBJECT.h 0
reloading /usr/local/lib/root/libASImage.so 0 reloading /home/rmason/Programming/rootmac/./CountLines.C 0 reloading /home/rmason/Programming/rootmac/./fitFunction.C 0 reloading /home/rmason/Programming/rootmac/./MySpectrum.C 0 reloading /home/rmason/Programming/rootmac/./WriteParams.C 0 reloading /home/rmason/Programming/rootmac/./ReadParams.C 0
followed by:
root [3] gui();
gui();
I see:
Error in <TQObject::CheckConnectArgs>: slot MainFrame::DoOK() does not exist
and the exit button (which worked perfectly first time) does nothing and will not then function correctly until I stop and restart root.
This behaviour makes the edit - test cycle very tedious, because I must stop and restart root after every minor edit if I am to see cleanly the effects of the changes I made.
Is there something I'm doing wrong?
Thanks for any help you can give.
Roger Received on Fri Nov 18 2005 - 15:29:15 MET
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:13 MET