| library: libGui #include "TGLayout.h" |
| Inheritance Chart: | ||||||||||||||||||
|
private:
TGLayoutHints& operator=(const TGLayoutHints&)
protected:
void UpdateFrameElements(TGLayoutHints* l)
public:
TGLayoutHints(ULong_t hints = kLHintsNormal, Int_t padleft = 0, Int_t padright = 0, Int_t padtop = 0, Int_t padbottom = 0)
TGLayoutHints(const TGLayoutHints& lh)
virtual ~TGLayoutHints()
static TClass* Class()
ULong_t GetLayoutHints() const
Int_t GetPadBottom() const
Int_t GetPadLeft() const
Int_t GetPadRight() const
Int_t GetPadTop() const
virtual TClass* IsA() const
virtual void ls(Option_t* option = "") const
virtual void Print(Option_t* option = "") const
virtual void SavePrimitive(ostream& out, Option_t* = "")
virtual void SetLayoutHints(ULong_t lh)
virtual void SetPadBottom(Int_t v)
virtual void SetPadLeft(Int_t v)
virtual void SetPadRight(Int_t v)
virtual void SetPadTop(Int_t v)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
TGFrameElement* fFE back pointer to the last frame element
TGFrameElement* fPrev previous element sharing this layout_hints
protected:
ULong_t fLayoutHints layout hints (combination of ELayoutHints)
Int_t fPadtop amount of top padding
Int_t fPadbottom amount of bottom padding
Int_t fPadleft amount of left padding
Int_t fPadright amount of right padding
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 unlimited 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. This layout manager does not make
use of TGLayoutHints.