51 fFrame->Connect(
"ProcessedEvent(Event_t*)",
"TGTableFrame",
this,
52 "HandleMouseWheel(Event_t*)");
72 if (
fCanvas->GetContainer()->GetHeight())
74 fCanvas->GetViewPort()->GetHeight()) /
75 fCanvas->GetContainer()->GetHeight());
81 if (newpos < 0) newpos = 0;
82 fCanvas->SetVsbPosition(newpos);
87 fCanvas->SetVsbPosition(newpos);
130 fY0 =
fTable->GetTableHeader()->GetHeight();
133 fX0 =
fTable->GetTableHeader()->GetWidth();
135 Error(
"TGTableHeaderFrame::TGTableHeaderFrame",
136 "specify correct header type");
const Mask_t kButtonPressMask
const Mask_t kAnyModifier
const Mask_t kPointerMotionMask
const Mask_t kButtonReleaseMask
void Error(const char *location, const char *msgfmt,...)
Use this function in case an error occurred.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void w
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
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.
TGTableFrame contains a composite frame that uses a TGMatrixLayout to Layout the frames it contains.
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