Warning, file /include/root/TGTableContainer.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef ROOT_TGTableFrame
0012 #define ROOT_TGTableFrame
0013
0014 #include "TGCanvas.h"
0015 #include "TGTableHeader.h"
0016
0017 class TGTableFrame : public TQObject {
0018
0019 protected:
0020 TGCompositeFrame *fFrame;
0021 TGCanvas *fCanvas;
0022
0023 public:
0024 TGTableFrame(const TGWindow *p, UInt_t nrows, UInt_t ncolumns);
0025 ~TGTableFrame() override { delete fFrame; }
0026
0027 TGFrame *GetFrame() const { return fFrame; }
0028
0029 void SetCanvas(TGCanvas *canvas) { fCanvas = canvas; }
0030 void HandleMouseWheel(Event_t *event);
0031 virtual void DrawRegion(Int_t x, Int_t y, UInt_t w, UInt_t h);
0032
0033 ClassDefOverride(TGTableFrame, 0)
0034 };
0035
0036 class TGTableHeaderFrame: public TGCompositeFrame {
0037
0038 protected:
0039 Int_t fX0;
0040 Int_t fY0;
0041 TGTable *fTable;
0042
0043 public:
0044 TGTableHeaderFrame(const TGWindow *p, TGTable *table = nullptr, UInt_t w = 1,
0045 UInt_t h = 1, EHeaderType type = kColumnHeader,
0046 UInt_t option = 0);
0047 ~TGTableHeaderFrame() override {}
0048
0049 virtual void DrawRegion(Int_t x, Int_t y, UInt_t w, UInt_t h);
0050
0051 ClassDefOverride(TGTableHeaderFrame, 0)
0052 };
0053
0054 #endif
0055
0056