Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TRootApplication.h
Go to the documentation of this file.
1// @(#)root/gui:$Id$
2// Author: Fons Rademakers 15/01/98
3
4/*************************************************************************
5 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12
13#ifndef ROOT_TRootApplication
14#define ROOT_TRootApplication
15
16
17#include "TApplicationImp.h"
18
19
20class TGClient;
21
22
24
25private:
26 TGClient *fClient; // pointer to the client environment
27 char *fDisplay; // display server to connect to
28
30 void GetOptions(Int_t *argc, char **argv);
31
32public:
33 TRootApplication(const char *appClassName, Int_t *argc, char **argv);
34 virtual ~TRootApplication();
35
36 TGClient *Client() const { return fClient; }
37
38 void Show() { }
39 void Hide() { }
40 void Iconify() { }
42 void Init() { }
43 void Open() { }
44 void Raise() { }
45 void Lower() { }
46
47 ClassDef(TRootApplication,0) // ROOT native GUI application environment
48};
49
50#endif
int Int_t
Definition RtypesCore.h:45
bool Bool_t
Definition RtypesCore.h:63
#define ClassDef(name, id)
Definition Rtypes.h:325
ABC describing GUI independent application implementation protocol.
Window client.
Definition TGClient.h:37
This class create the ROOT native GUI version of the ROOT application environment.
void GetOptions(Int_t *argc, char **argv)
Handle command line arguments.
virtual ~TRootApplication()
Delete ROOT application environment.
Bool_t IsCmdThread()
By default (for UNIX) ROOT is a single thread application For win32gdk returns kTRUE if it's called f...
TGClient * Client() const