TGMatrixLayout
class description - source file - inheritance tree
public:
TGMatrixLayout TGMatrixLayout(TGCompositeFrame* main, UInt_t r, UInt_t c, Int_t s = 0, Int_t h = 0)
TGMatrixLayout TGMatrixLayout(TGMatrixLayout&)
void ~TGMatrixLayout()
TClass* Class()
virtual TGDimension GetDefaultSize()
virtual TClass* IsA()
virtual void Layout()
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
protected:
TGCompositeFrame* fMain container frame
TList* fList list of frames to arrange
public:
Int_t fSep interval between frames
Int_t fHints layout hints
UInt_t fRows number of rows
UInt_t fColumns number of columns
A number of different layout classes (TGLayoutManager,
TGVerticalLayout, TGHorizontalLayout, TGLayoutHints, etc.).
Concerning the TGMatrixLayout class:
It arranges frames in a matrix-like way.
This manager provides :
- a column number (0 means unlimited)
- a row number (0 means unlimited)
- horizontal & vertical separators
Notes : If both column and row are fixed values, any remaining
frames outside the count won't be managed.
Unlimited rows means the frame can expand downward
(the default behaviour in most UI).
Both unlimied rows and columns is undefined (read: will
crash the algorithm ;-).
With fixed dimensions, frames are always arranged in rows.
That is: 1st frame is at position (0,0), next one is at
row(0), column(1) and so on...
When specifying one dimension as unlimited (i.e. row=0 or
column=0) the frames are arranged according to the direction
of the fixed dimension.
TGMatrixLayout(TGCompositeFrame *main, UInt_t r, UInt_t c,
Int_t s, Int_t h)
TGMatrixLayout constructor.
void Layout()
Make a matrix layout of all frames in the list.
TGDimension GetDefaultSize() const
Return default dimension of the matrix layout.
Inline Functions
TClass* Class()
TClass* IsA()
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
TGMatrixLayout TGMatrixLayout(TGMatrixLayout&)
void ~TGMatrixLayout()
Author: Fons Rademakers 02/01/98
Last update: 2.00/12 06/09/98 20.31.14 by Fons Rademakers
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *
ROOT page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.