Main Page | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals

TGTabDialog.h

Go to the documentation of this file.
00001 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef TGTABDIALOG_H
00019 #define TGTABDIALOG_H
00020 
00021 #include <TGFrame.h>
00022 #include <TGTab.h>
00023 #include <TGButton.h>
00024 #include <TGTextEntry.h>
00025 #include <TList.h>
00026 
00031 class TGTabDialog : public TGTransientFrame  {
00032 
00033   const TGWindow            *fMain;
00034   TGCompositeFrame    *fBottomFrame;
00035   TGLayoutHints       *fL1,*fL2;
00036   TList               *fListOfTabs;
00037   TGButton            *fOkButton, *fCancelButton;
00038   TGTab               *fTab;
00039 
00040  
00041   
00042 
00043  public: 
00044 
00045   TList *GetListOfTabs() { return fListOfTabs; };
00046   
00047   TGTab *GetTab() { return fTab; };
00048 
00049   TGTabDialog(const TGWindow *p, 
00050           const TGWindow *main, 
00051           UInt_t w=500, UInt_t h = 300,
00052           UInt_t options = kVerticalFrame);
00053 
00054   virtual void DrawDialog();
00055   virtual ~TGTabDialog();
00056 
00057   // Slots
00058   
00059   virtual void Ok();
00060   virtual void Apply();
00061   virtual void Cancel();
00062   virtual void CloseWindow();
00063   virtual void HandlePopup(Int_t);
00064 
00065   ClassDef(TGTabDialog,0)
00066 };
00067 
00068 #endif

Generated on Fri Apr 23 16:23:44 2004 by doxygen 1.3.2