11 #ifndef ROOT_TGTableFrame
12 #define ROOT_TGTableFrame
17 class TGTableFrame :
public TQObject {
20 TGCompositeFrame *fFrame;
24 TGTableFrame(
const TGWindow *p, UInt_t nrows, UInt_t ncolumns);
25 virtual ~TGTableFrame() {
delete fFrame; }
27 TGFrame *GetFrame()
const {
return fFrame; }
29 void SetCanvas(TGCanvas *canvas) { fCanvas = canvas; }
30 void HandleMouseWheel(Event_t *event);
31 virtual void DrawRegion(Int_t x, Int_t y, UInt_t w, UInt_t h);
33 ClassDef(TGTableFrame, 0)
36 class TGTableHeaderFrame:
public TGCompositeFrame {
44 TGTableHeaderFrame(
const TGWindow *p, TGTable *table = 0, UInt_t w = 1,
45 UInt_t h = 1, EHeaderType type = kColumnHeader,
47 ~TGTableHeaderFrame() {}
49 virtual void DrawRegion(Int_t x, Int_t y, UInt_t w, UInt_t h);
51 ClassDef(TGTableHeaderFrame, 0)
54 #endif // ROOT_TGTableFrame