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)
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.
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