library: libGui
#include "TGApplication.h"

TGApplication


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

class TGApplication : public TApplication

Inheritance Chart:
TObject
TQObject
<-
TApplication
<-
TGApplication

    protected:
TGApplication() virtual void LoadGraphicsLibs() public:
TGApplication(const char* appClassName, Int_t* argc, char** argv, void* options = 0, Int_t numOptions = 0) TGApplication(const TGApplication&) virtual ~TGApplication() static TClass* Class() virtual void GetOptions(Int_t* argc, char** argv) virtual TClass* IsA() const TGApplication& operator=(const TGApplication&) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

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

Class Description

                                                                      
 TGApplication                                                        
                                                                      
 This class initialize the ROOT GUI toolkit.                          
 This class must be instantiated exactly once in any given            
 application.                                                         
                                                                      


TGApplication(const char *appClassName, int *argc, char **argv, void*, int) : TApplication(), fDisplay(0), fClient(0)
 Create a GUI application environment. Use this class if you only
 want to use the ROOT GUI and no other services. In all other cases
 use either TApplication or TRint.

~TGApplication()
 TGApplication dtor.

void LoadGraphicsLibs()
 Load shared libs necessary for GUI.

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


         TGApplication TGApplication(const char* appClassName, Int_t* argc, char** argv, void* options = 0, Int_t numOptions = 0)
               TClass* Class()
               TClass* IsA() const
                  void ShowMembers(TMemberInspector& insp, char* parent)
                  void Streamer(TBuffer& b)
                  void StreamerNVirtual(TBuffer& b)
         TGApplication TGApplication(const TGApplication&)
        TGApplication& operator=(const TGApplication&)


Author: Guy Barrand 30/05/2001
Last update: root/gui:$Name: $:$Id: TGApplication.cxx,v 1.9 2005/01/05 01:28:12 rdm Exp $
Copyright (C) 2001, Guy Barrand. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.