ROOT logo
ROOT » GUI » GUI » TRootApplication

class TRootApplication: public TApplicationImp


TRootApplication

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).


Function Members (Methods)

public:
TRootApplication(const TRootApplication&)
TRootApplication(const char* appClassName, Int_t* argc, char** argv)
virtual~TRootApplication()
virtual const char*TApplicationImp::ApplicationName() const
static TClass*Class()
TGClient*Client() const
virtual Int_tTApplicationImp::ExecCommand(TGWin32Command* code, Bool_t synch)
virtual voidHide()
virtual voidIconify()
virtual voidInit()
virtual TClass*IsA() const
virtual Bool_tIsCmdThread()
virtual voidLower()
virtual voidOpen()
TRootApplication&operator=(const TRootApplication&)
virtual voidRaise()
virtual voidShow()
virtual voidShowMembers(TMemberInspector& insp)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
private:
TRootApplication()
voidGetOptions(Int_t* argc, char** argv)

Data Members

protected:
TStringTApplicationImp::fApplicationNameapplication name
private:
TGClient*fClientpointer to the client environment
char*fDisplaydisplay server to connect to

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TRootApplication(const char* appClassName, Int_t* argc, char** argv)
 Create ROOT application environment.
~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 from inside of server/cmd thread
void GetOptions(Int_t* argc, char** argv)
 Handle command line arguments. Arguments handled are removed from the
 argument array. Currently only option "-display xserver" is considered.
TRootApplication()
{ fClient = 0; fDisplay = 0; }
TRootApplication(const char* appClassName, Int_t* argc, char** argv)
void Show()
{ }
void Hide()
{ }
void Iconify()
{ }
void Init()
{ }
void Open()
{ }
void Raise()
{ }
void Lower()
{ }