// Author: Roel Aaij   30/08/2007

/*************************************************************************
 * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TGTreeTable
#define ROOT_TGTreeTable

#ifndef ROOT_TGTable
#include "TGTable.h"
#endif

class TTreeTableInterface;
class TTree;

class TGTreeTable : public TGTable {

private:
   TTree *fTree; // Pointer to the tree

protected:

public:
   TGTreeTable(TGWindow *p = 0, Int_t id = -1, TTree *tree = 0, 
               const char *expression = 0, const char *selection = 0, 
               const char *option = 0, UInt_t nrows = 50, UInt_t ncolumns = 10);
   ~TGTreeTable();

   ClassDef(TGTreeTable, 0) // A TGTable that owns it's TTreeTableIngeface.
};

#endif
