49 fFrame->Connect(
"ProcessedEvent(Event_t*)",
"TGTableFrame",
this,
50 "HandleMouseWheel(Event_t*)");
70 if (
fCanvas->GetContainer()->GetHeight())
72 fCanvas->GetViewPort()->GetHeight()) /
73 fCanvas->GetContainer()->GetHeight());
79 if (newpos < 0) newpos = 0;
80 fCanvas->SetVsbPosition(newpos);
85 fCanvas->SetVsbPosition(newpos);
128 fY0 =
fTable->GetTableHeader()->GetHeight();
131 fX0 =
fTable->GetTableHeader()->GetWidth();
133 Error(
"TGTableHeaderFrame::TGTableHeaderFrame",
134 "specify correct header type");
const Mask_t kButtonPressMask
const Mask_t kAnyModifier
const Mask_t kPointerMotionMask
const Mask_t kButtonReleaseMask
int Int_t
Signed integer 4 bytes (int).
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
float Float_t
Float 4 bytes (float).
Error("WriteTObject","The current directory (%s) is not associated with a file. The object (%s) has not been written.", GetName(), objname)
The base class for composite widgets (menu bars, list boxes, etc.).
TGCompositeFrame(const TGCompositeFrame &)=delete
TList * fList
container of frame elements
void ChangeOptions(UInt_t options) override
Change composite frame options. Options is an OR of the EFrameTypes.
static Pixel_t GetWhitePixel()
Get white pixel value.
virtual UInt_t GetOptions() const
This layout managers does not make use of TGLayoutHints.
TGClient * fClient
Connection to display server.
void HandleMouseWheel(Event_t *event)
Handle mouse wheel to scroll.
TGCompositeFrame * fFrame
Composite frame used as a container.
TGTableFrame(const TGWindow *p, UInt_t nrows, UInt_t ncolumns)
Create the container used to view TGTableCells. p.
virtual void DrawRegion(Int_t x, Int_t y, UInt_t w, UInt_t h)
Draw a region of container in viewport.
TGCanvas * fCanvas
Pointer to the canvas that used this frame.
Create an array to hold a bunch of numbers.
ROOT GUI Window base class.
TQObject(const TQObject &)=delete
EGEventType fType
of event (see EGEventType)
UInt_t fCode
key or button code