13#ifndef ROOT_TGXYLayout
14#define ROOT_TGXYLayout
int Int_t
Signed integer 4 bytes (int).
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
bool Bool_t
Boolean (0=false, 1=true) (bool).
double Double_t
Double 8 bytes.
const char Option_t
Option string (const char).
#define ClassDefOverride(name, id)
The base class for composite widgets (menu bars, list boxes, etc.).
TGLayoutHints(ULong_t hints=kLHintsNormal, Int_t padleft=0, Int_t padright=0, Int_t padtop=0, Int_t padbottom=0)
void SetFlag(UInt_t flag)
TGXYLayoutHints(Double_t x, Double_t y, Double_t w, Double_t h, UInt_t rubberFlag=kLRubberX|kLRubberY)
Constructor.
Double_t fY
y - position of widget
Double_t fW
width of widget
Double_t fH
height of widget
void SavePrimitive(std::ostream &out, Option_t *="") override
Save XY layout hints as a C++ statement(s) on output stream.
Double_t fX
x - position of widget
Int_t fTWidth
text width of a default character "1234567890" / 10
TList * fList
list of frames to arrange
TGXYLayout(const TGXYLayout &)
copy constructor
UInt_t fFirstWidth
original width of the frame fMain
UInt_t fFirstHeight
original height of the frame fMain
void Layout() override
Recalculates the postion and the size of all widgets.
TGCompositeFrame * fMain
container frame
TGXYLayout & operator=(const TGXYLayout &)
assignment operator
Int_t fTHeight
text height
Bool_t fFirst
flag to determine the first call of Layout()
void SavePrimitive(std::ostream &out, Option_t *="") override
Save XY layout manager as a C++ statement(s) on output stream.
TGDimension GetDefaultSize() const override
Returns the original size of the frame.
int main(int argc, char **argv)