Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TRootApplication Class Reference

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.
 
virtual ~TRootApplication ()
 Delete ROOT application environment.
 
TGClientClient () const
 
void Hide ()
 
void Iconify ()
 
void Init ()
 
Bool_t IsCmdThread ()
 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 ()
 
void Open ()
 
void Raise ()
 
void Show ()
 
- 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)
 

Private Member Functions

 TRootApplication ()
 
void GetOptions (Int_t *argc, char **argv)
 Handle command line arguments.
 

Private Attributes

TGClientfClient
 
char * fDisplay
 

Additional Inherited Members

- Protected Attributes inherited from TApplicationImp
TString fApplicationName
 

#include <TRootApplication.h>

Inheritance diagram for TRootApplication:
[legend]

Constructor & Destructor Documentation

◆ TRootApplication() [1/2]

TRootApplication::TRootApplication ( )
inlineprivate

Definition at line 29 of file TRootApplication.h.

◆ TRootApplication() [2/2]

TRootApplication::TRootApplication ( const char *  appClassName,
Int_t argc,
char **  argv 
)

Create ROOT application environment.

Definition at line 35 of file TRootApplication.cxx.

◆ ~TRootApplication()

TRootApplication::~TRootApplication ( )
virtual

Delete ROOT application environment.

Definition at line 58 of file TRootApplication.cxx.

Member Function Documentation

◆ Client()

TGClient * TRootApplication::Client ( ) const
inline

Definition at line 36 of file TRootApplication.h.

◆ GetOptions()

void TRootApplication::GetOptions ( Int_t argc,
char **  argv 
)
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.

◆ Hide()

void TRootApplication::Hide ( )
inlinevirtual

Reimplemented from TApplicationImp.

Definition at line 39 of file TRootApplication.h.

◆ Iconify()

void TRootApplication::Iconify ( )
inlinevirtual

Reimplemented from TApplicationImp.

Definition at line 40 of file TRootApplication.h.

◆ Init()

void TRootApplication::Init ( )
inlinevirtual

Reimplemented from TApplicationImp.

Definition at line 42 of file TRootApplication.h.

◆ IsCmdThread()

Bool_t TRootApplication::IsCmdThread ( )
virtual

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.

◆ Lower()

void TRootApplication::Lower ( )
inlinevirtual

Reimplemented from TApplicationImp.

Definition at line 45 of file TRootApplication.h.

◆ Open()

void TRootApplication::Open ( )
inlinevirtual

Reimplemented from TApplicationImp.

Definition at line 43 of file TRootApplication.h.

◆ Raise()

void TRootApplication::Raise ( )
inlinevirtual

Reimplemented from TApplicationImp.

Definition at line 44 of file TRootApplication.h.

◆ Show()

void TRootApplication::Show ( )
inlinevirtual

Reimplemented from TApplicationImp.

Definition at line 38 of file TRootApplication.h.

Member Data Documentation

◆ fClient

TGClient* TRootApplication::fClient
private

Definition at line 26 of file TRootApplication.h.

◆ fDisplay

char* TRootApplication::fDisplay
private

Definition at line 27 of file TRootApplication.h.

Libraries for TRootApplication:

The documentation for this class was generated from the following files: