This class create the ROOT native GUI version of the ROOT application environment.
This in contrast to the Win32 version. Once the native widgets work on Win32 this class can be folded into the TApplication class (since all graphic will go via TVirtualX).
Definition at line 23 of file TRootApplication.h.
Public Member Functions | |
TRootApplication (const char *appClassName, Int_t *argc, char **argv) | |
Create ROOT application environment. | |
~TRootApplication () override | |
Delete ROOT application environment. | |
TGClient * | Client () const |
void | Hide () override |
void | Iconify () override |
void | Init () override |
Bool_t | IsCmdThread () override |
By default (for UNIX) ROOT is a single thread application For win32gdk returns kTRUE if it's called from inside of server/cmd thread. | |
void | Lower () override |
void | Open () override |
void | Raise () override |
void | Show () override |
Public Member Functions inherited from TApplicationImp | |
TApplicationImp () | |
TApplicationImp (const char *appClassName, int *argc, char **argv) | |
virtual | ~TApplicationImp () |
virtual const char * | ApplicationName () const |
virtual Int_t | ExecCommand (TGWin32Command *code, Bool_t synch) |
virtual TClass * | IsA () const |
virtual void | Streamer (TBuffer &) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Private Member Functions | |
TRootApplication () | |
void | GetOptions (Int_t *argc, char **argv) |
Handle command line arguments. | |
Private Attributes | |
TGClient * | fClient |
char * | fDisplay |
Additional Inherited Members | |
Static Public Member Functions inherited from TApplicationImp | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Protected Attributes inherited from TApplicationImp | |
TString | fApplicationName |
#include <TRootApplication.h>
|
inlineprivate |
Definition at line 29 of file TRootApplication.h.
TRootApplication::TRootApplication | ( | const char * | appClassName, |
Int_t * | argc, | ||
char ** | argv | ||
) |
Create ROOT application environment.
Definition at line 35 of file TRootApplication.cxx.
|
override |
Delete ROOT application environment.
Definition at line 58 of file TRootApplication.cxx.
|
inline |
Definition at line 36 of file TRootApplication.h.
|
private |
Handle command line arguments.
Arguments handled are removed from the argument array. Currently only option "-display xserver" is considered.
Definition at line 77 of file TRootApplication.cxx.
|
inlineoverridevirtual |
Reimplemented from TApplicationImp.
Definition at line 39 of file TRootApplication.h.
|
inlineoverridevirtual |
Reimplemented from TApplicationImp.
Definition at line 40 of file TRootApplication.h.
|
inlineoverridevirtual |
Reimplemented from TApplicationImp.
Definition at line 42 of file TRootApplication.h.
|
overridevirtual |
By default (for UNIX) ROOT is a single thread application For win32gdk returns kTRUE if it's called from inside of server/cmd thread.
Reimplemented from TApplicationImp.
Definition at line 68 of file TRootApplication.cxx.
|
inlineoverridevirtual |
Reimplemented from TApplicationImp.
Definition at line 45 of file TRootApplication.h.
|
inlineoverridevirtual |
Reimplemented from TApplicationImp.
Definition at line 43 of file TRootApplication.h.
|
inlineoverridevirtual |
Reimplemented from TApplicationImp.
Definition at line 44 of file TRootApplication.h.
|
inlineoverridevirtual |
Reimplemented from TApplicationImp.
Definition at line 38 of file TRootApplication.h.
|
private |
Definition at line 26 of file TRootApplication.h.
|
private |
Definition at line 27 of file TRootApplication.h.