#include <TGTableContainer.h>
Inheritance diagram for TGTableFrame:
Public Member Functions | |
TGTableFrame (const TGWindow *p, UInt_t nrows, UInt_t ncolumns) | |
virtual | ~TGTableFrame () |
TGFrame * | GetFrame () const |
void | SetCanvas (TGCanvas *canvas) |
void | HandleMouseWheel (Event_t *event) |
virtual void | DrawRegion (Int_t x, Int_t y, UInt_t w, UInt_t h) |
TGTableFrame (const TGWindow *p, UInt_t nrows, UInt_t ncolumns) | |
virtual | ~TGTableFrame () |
TGFrame * | GetFrame () const |
void | SetCanvas (TGCanvas *canvas) |
void | HandleMouseWheel (Event_t *event) |
virtual void | DrawRegion (Int_t x, Int_t y, UInt_t w, UInt_t h) |
Protected Attributes | |
TGCompositeFrame * | fFrame |
TGCanvas * | fCanvas |
TGCompositeFrame * | fFrame |
TGCanvas * | fCanvas |
Definition at line 18 of file TGTableContainer.h.
virtual TGTableFrame::~TGTableFrame | ( | ) | [inline, virtual] |
virtual TGTableFrame::~TGTableFrame | ( | ) | [inline, virtual] |
TGFrame* TGTableFrame::GetFrame | ( | ) | const [inline] |
void TGTableFrame::SetCanvas | ( | TGCanvas * | canvas | ) | [inline] |
Definition at line 30 of file TGTableContainer.h.
References canvas, and fCanvas.
Referenced by TGTable::Init().
void TGTableFrame::HandleMouseWheel | ( | Event_t * | event | ) |
Definition at line 54 of file TGTableContainer.cxx.
References fCanvas, Event_t::fCode, Event_t::fType, TGCanvas::GetContainer(), TGFrame::GetHeight(), TGCanvas::GetViewPort(), TGCanvas::GetVsbPosition(), kButton4, kButton5, kButtonPress, kButtonRelease, and TGCanvas::SetVsbPosition().
Definition at line 84 of file TGTableContainer.cxx.
References fCanvas, fFrame, TGFrameElement::fFrame, gClient, TGFrame::GetHeight(), TGCanvas::GetHsbPosition(), TGCompositeFrame::GetList(), TGCanvas::GetVsbPosition(), TGFrame::GetWidth(), TGFrame::GetX(), TGFrame::GetY(), and TGClient::NeedRedraw().
Referenced by TGTable::SetEvenRowBackground(), TGTable::SetOddRowBackground(), and TGTable::UpdateView().
TGFrame* TGTableFrame::GetFrame | ( | ) | const [inline] |
void TGTableFrame::SetCanvas | ( | TGCanvas * | canvas | ) | [inline] |
void TGTableFrame::HandleMouseWheel | ( | Event_t * | event | ) |
TGCompositeFrame* TGTableFrame::fFrame [protected] |
Definition at line 21 of file TGTableContainer.h.
Referenced by DrawRegion(), GetFrame(), and ~TGTableFrame().
TGCanvas* TGTableFrame::fCanvas [protected] |
Definition at line 22 of file TGTableContainer.h.
Referenced by DrawRegion(), HandleMouseWheel(), and SetCanvas().
TGCompositeFrame* TGTableFrame::fFrame [protected] |
Definition at line 21 of file TGTableContainer.h.
TGCanvas* TGTableFrame::fCanvas [protected] |
Definition at line 22 of file TGTableContainer.h.