Dear ROOTers, The attached file seem to show that : TGTextButton *a[i][j][k] is translated into: TGTextButton *a[i], in Dictionary file. Sincerely yours Xie #ifndef _controlpanel_ #define _controlpanel_ //=======================// // Build Control Panel // //=======================// #include <stdlib.h> #include <TGXW.h> #include <TEnv.h> #include <TGLabel.h> #include <TGPicture.h> #include <TGButton.h> #include <TGTextEntry.h> #include <TGTab.h> #include <TGIcon.h> #include <TGSlider.h> #include <TRootEmbeddedCanvas.h> #include <TCanvas.h> #include <TH1.h> #include <TH2.h> #include <TRandom.h> #include <TSystem.h> #include <TGCanvas.h> //-- global variables ---- enum CommandID {LowEntryID, UpEntryID, LowSliderID, UpSliderID }; //-- Class definition --- class ControlPanel : public TGMainFrame { private: TGTextButton *StatusButtonPC2[2]; public: ControlPanel(const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h, UInt_t options = kMainFrame | kVerticalFrame); ~ControlPanel(); ClassDef(ControlPanel,1) }; #endif #include "ControlPanel.h" ClassImp(ControlPanel) //_____________________________________________________________ ControlPanel::ControlPanel(const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h, UInt_t options) : TGMainFrame(p, w, h) { } //_______________________________________ ControlPanel::~ControlPanel() { }
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:31 MET