TGApplication


class description - source file - inheritance tree

class TGApplication : public TApplication

    private:
protected:
TGApplication TGApplication() virtual void LoadGraphicsLibs() public:
TGApplication TGApplication(const char* appClassName, Int_t* argc, char** argv, void* options = 0, Int_t numOptions = 0) TGApplication TGApplication(TGApplication&) virtual void ~TGApplication() static TClass* Class() virtual void GetOptions(Int_t* argc, char** argv) virtual TClass* IsA() const 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 public:

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 neccesary 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(TGApplication&)


Author: Guy Barrand 30/05/2001
Last update: root/gui:$Name: $:$Id: TGApplication.cxx,v 1.2 2001/06/22 16:12:02 rdm Exp $
Copyright (C) 2001, Guy Barrand. *


ROOT page - Class index - 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.