TGTextDialog.h

Go to the documentation of this file.
00001 /*********************************************************************
00002 
00003   Name:         TGTextDialog.h
00004   Created by:   Stephan Ritt
00005 
00006                                                                        
00007   Contents:     MIROODAS        
00008   $Log$
00009   Revision 1.1  2005/11/29 19:29:36  chuma
00010   Added directories:  lib/, include/ and /mxml and their files.
00011   Added Makefile.
00012 
00013   Revision 1.6  2004/09/16 16:30:36  schneebeli
00014   Linking on windows and multiple selection of items
00015 
00016   Revision 1.5  2004/06/25 21:46:34  chuma
00017   Added:  current online host name is displayed in message dialog
00018   Fixed:  online histograms can now be added and displayed in groups
00019 
00020   Revision 1.4  2004/04/02 18:52:00  chuma
00021   the previously committed files were the same old files
00022   this commit is to correct that mistake only
00023   these files should make a square gui window with one canvas and no buttons
00024 
00025   Revision 1.2  2003/12/10 18:07:36  chuma
00026   first pass by Joe Chuma
00027 
00028   Revision 1.1.1.1  2003/08/08 22:37:11  gking
00029   New Files
00030 
00031   
00032 *********************************************************************/
00033 
00034 #ifndef TGTextDialog_H
00035 #define TGTextDialog_H
00036 
00037 #include <TGButton.h>
00038 #include <TRootEmbeddedCanvas.h>
00039 #include <TGLayout.h>
00040 #include <TH2.h>
00041 #include <TCanvas.h>
00042 #include <TSocket.h>
00043 #include <TMessage.h>
00044 #include <TGMsgBox.h>
00045 #include <TApplication.h>
00046 #include <TROOT.h>
00047 #include <TGListBox.h>
00048 #include <TString.h>
00049 #include <TObjArray.h>
00050 #include <TObjString.h>
00051 #include <TGMenu.h>
00052 #include <TGTab.h>
00053 #include <TGLabel.h>
00054 #include <TGTextEntry.h>
00055 
00056 #ifndef ROOT_TGFrame
00057 #include <TGFrame.h>
00058 #endif
00059 
00060 class TGTextDialog : public TGTransientFrame
00061 {
00062 protected:
00063   TGCompositeFrame *fF1, *fF2;                // sub frames
00064   TGButton         *fOkButton;                // ok button
00065   TGButton         *fCancelButton;            // cancel button
00066   TGLayoutHints    *fL1, *fL5, *fL6, *fL21;   // layout hints
00067   TGTextEntry      *fText;                    // text entry widget
00068   TGTextBuffer     *fBLabel;                  // text buffer
00069   TGLabel          *fLabel;                   // label
00070   TObjString       *fRetObjStr;               // return string
00071   
00072 public:
00073   TGTextDialog( TGWindow const *, TGWindow const *, UInt_t, UInt_t,
00074                 char *, char const *, TObjString *, UInt_t =kVerticalFrame );
00075   virtual ~TGTextDialog();
00076   
00077   virtual void   CloseWindow();
00078   virtual Bool_t ProcessMessage( Long_t, Long_t, Long_t );
00079   
00080   ClassDef(TGTextDialog, 1)
00081 };
00082 #endif
00083 // end of file

Roody DOC Version 1.0.1 ---- TRIUMF ----
Contributions: Pierre-Andre Amaudruz - Joe Chuma - Doxygen - Greg King - Konstantin Olchanski - Matthias Schneebeli