12 #ifndef ROOT_TGTableLayout
13 #define ROOT_TGTableLayout
56 fAttachLeft(attach_left),
57 fAttachRight(attach_right),
58 fAttachTop(attach_top),
59 fAttachBottom(attach_bottom) { }
virtual void SavePrimitive(std::ostream &out, Option_t *="")
Save a primitive as a C++ statement(s) on output stream "out".
UInt_t GetAttachRight() const
TGTableLayout & operator=(const TGTableLayout &)
TGTableLayout(const TGTableLayout &)
TGTableLayoutHints & operator=(const TGTableLayoutHints &)
void FindRowColSizesHomogeneous()
If the table is homogeneous make sure all col/rows are same size as biggest col/row.
#define ClassDef(name, id)
UInt_t GetAttachTop() const
virtual void Layout()
Make a table layout of all frames in the list.
void SetRowColSizesInit()
Initialize rows/cols.
void FindRowColSizesSinglyAttached()
Determine the size of rows/cols needed for singly attached children.
void FindRowColSizesMultiplyAttached()
Checks any children which span multiple col/rows.
void CheckSanity()
Sanity check various values.
static void SetRowColResize(UInt_t real_size, UInt_t nthings, TableData_t *thing, Bool_t homogeneous)
If main frame is bigger or smaller than all children, expand/shrink to fill.
UInt_t GetAttachBottom() const
TGTableLayoutHints(const TGTableLayoutHints &)
void SetRowColSizes()
This gets the new sizes needed to fit the table to the parent frame.
void FindRowColSizes()
Find the sizes of rows and columns needed to statisfy children's layout policies. ...
int main(int argc, char *argv[])
virtual ~TGTableLayout()
TGTableLayout constructor.
UInt_t GetAttachLeft() const
virtual TGDimension GetDefaultSize() const
Return default dimension of the table layout.
void FindRowColSizesInit()
Initialize values needed to determine the size of rows and columns.
virtual void SavePrimitive(std::ostream &out, Option_t *="")
Save a primitive as a C++ statement(s) on output stream "out".
TGTableLayoutHints(UInt_t attach_left, UInt_t attach_right, UInt_t attach_top, UInt_t attach_bottom, ULong_t hints=kLHintsNormal, UInt_t padleft=0, UInt_t padright=0, UInt_t padtop=0, UInt_t padbottom=0)
virtual ~TGTableLayoutHints()