12 #ifndef ROOT_TGTableLayout 13 #define ROOT_TGTableLayout virtual void SavePrimitive(std::ostream &out, Option_t *="")
Save a primitive as a C++ statement(s) on output stream "out".
UInt_t GetAttachLeft() const
TGTableLayout & operator=(const TGTableLayout &)
UInt_t GetAttachTop() const
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)
int main(int argc, char **argv)
virtual void Layout()
Make a table layout of all frames in the list.
void SetRowColSizesInit()
Initialize rows/cols.
UInt_t GetAttachRight() const
void FindRowColSizesSinglyAttached()
Determine the size of rows/cols needed for singly attached children.
void FindRowColSizesMultiplyAttached()
Checks any children which span multiple col/rows.
UInt_t GetAttachBottom() const
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.
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. ...
virtual ~TGTableLayout()
TGTableLayout constructor.
void FindRowColSizesInit()
Initialize values needed to determine the size of rows and columns.
virtual TGDimension GetDefaultSize() const
Return default dimension of the table layout.
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()