library: libGui #include "TRootApplication.h"

# TRootApplication

class description - source file - inheritance tree (.pdf)

## class TRootApplication : public TApplicationImp

| Inheritance Chart:
`TApplicationImp`
| <- | `TRootApplication` |

        private:

                           TRootApplication()
                      void GetOptions(Int_t* argc, char** argv)

        public:

                            TRootApplication(const char* appClassName, Int_t* argc, char** argv)
                            TRootApplication(const TRootApplication&)
                    virtual ~TRootApplication()
             static TClass* Class()
                  TGClient* Client() const
               virtual void Hide()
               virtual void Iconify()
               virtual void Init()
            virtual TClass* IsA() const
             virtual Bool_t IsCmdThread()
               virtual void Lower()
               virtual void Open()
          TRootApplication& operator=(const TRootApplication&)
               virtual void Raise()
               virtual void Show()
               virtual void ShowMembers(TMemberInspector& insp, char* parent)
               virtual void Streamer(TBuffer& b)
                       void StreamerNVirtual(TBuffer& b)

### Data Members

        private:

          TGClient* fClient   pointer to the client environment
              char* fDisplay  display server to connect to

## Class Description

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

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

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

### Inline Functions

             TRootApplication TRootApplication(const char* appClassName, Int_t* argc, char** argv)
                    TGClient* Client() const
                         void Show()
                         void Hide()
                         void Iconify()
                         void Init()
                         void Open()
                         void Raise()
                         void Lower()
                      TClass* Class()
                      TClass* IsA() const
                         void ShowMembers(TMemberInspector& insp, char* parent)
                         void Streamer(TBuffer& b)
                         void StreamerNVirtual(TBuffer& b)
             TRootApplication TRootApplication(const TRootApplication&)
            TRootApplication& operator=(const TRootApplication&)

Author: Fons Rademakers 15/01/98
Last update: root/gui:$Name: $:$Id: TRootApplication.cxx,v 1.7 2004/08/17 14:57:46 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *