Re: Displaying graphs before main() returns

From: Roland Kuhn <rkuhn_at_e18.physik.tu-muenchen.de>
Date: Wed, 31 May 2006 12:15:39 +0200


Hi Rene!

On 30 May 2006, at 08:37, Rene Brun wrote:

> If you create your own executable (with a main) and this
> application has graphics,
> you must create a TApplication object. See example in $ROOTSYS/test/
> hworld.cxx
> It is in general a very bad idea to create your own main program.
> You better execute scripts
> from the ROOT prompt.
>

Could you elaborate on this? My experience goes exactly in the opposite direction.

Ciao,

                     Roland

--
TU Muenchen, Physik-Department E18, James-Franck-Str., 85748 Garching
Telefon 089/289-12575; Telefax 089/289-12570
--
CERN office: 892-1-D23 phone: +41 22 7676540 mobile: +41 76 487 4482
--
UNIX was not designed to stop you from doing stupid things, because that
would also stop you from doing clever things.
	-Doug Gwyn
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GS/CS/M/MU d-(++) s:+ a-> C+++ UL++++ P+++ L+++ E(+) W+ !N K- w--- M 
+ !V Y+
PGP++ t+(++) 5 R+ tv-- b+ DI++ e+++>++++ h---- y+++
------END GEEK CODE BLOCK------





Received on Wed May 31 2006 - 12:15:21 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:58 MET