[ROOT] TGApplication and TRootGuiFactory

From: Thomas Bretz (Thomas_Bretz@ph.tum.de)
Date: Tue Oct 28 2003 - 16:11:50 MET


Hi,

is it your intention not to load the TRootGUiFactory plugin when using a
TGApplication? If so, what is the reason?

If the reason is: Because TGApplication is for GUI application only, use
TApplication instead - I have a different question: Why does TGApplication
call SetDisplay (which is a 'helpfull tool' while TApplication doesn't?

I decided to use TGApplication instead of TApplication, because it calls
SetDisplay, which automatically sets the display correctly if it is not
set, but found out, that in this case I cannot open a TCanvas...

Best regards,
Thomas.



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET