95 virtual void Dump()
const;
virtual void HideFrame(TGFrame *f)
Hide sub frame.
TGFrameElementPack(const TGFrameElementPack &)
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
TGFrameElementPack * fSplitFE
virtual void MoveResize(Int_t x, Int_t y, UInt_t w=0, UInt_t h=0)
Move and resize the pack.
TGFrameElementPack & operator=(const TGFrameElementPack &)
void CheckSplitterVisibility()
Check if splitter of first visible frame is hidden.
void ResizeExistingFrames()
Resize (shrink or expand) existing frames by amount in total.
TGPack & operator=(const TGPack &)
virtual void Dump() const
Print sub frame info.
virtual ~TGPack()
Destructor.
void SetUseSplitters(Bool_t x)
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
void EqualizeFrames()
Refit existing frames so that their lengths are equal.
void HandleSplitterResize(Int_t delta)
Handle resize events from splitters.
void SetVertical(Bool_t x)
Sets the vertical flag and reformats the back to new stacking direction.
virtual void DeleteFrame(TGFrame *f)
Remove frame f and refit existing frames to pack size.
void RefitFramesToPack()
Refit existing frames to pack size.
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the pack.
TGFrameElementPack(TGFrame *frame, TGLayoutHints *lh=0, Float_t weight=1)
cached varaible for optimisation
virtual void RemoveFrame(TGFrame *f)
Remove frame f and refit existing frames to pack size.
void FindFrames(TGFrame *splitter, TGFrameElementPack *&f0, TGFrameElementPack *&f1) const
Find frames around splitter and return them f0 (previous) and f1 (next).
virtual void ShowFrame(TGFrame *f)
Show sub frame.
virtual void Layout()
Reposition the frames so that they fit correctly.
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame f at the end with default weight.
void SetFramePosition(TGFrame *f, Int_t pos)
Set pack-wise position of frame f.
ClassDef(TGFrameElementPack, 0)
virtual void MapSubwindows()
Map all sub windows that are part of the composite frame.
void AddFrameInternal(TGFrame *f, TGLayoutHints *l=0, Float_t weight=1)
Add frame f at the end.
void HandleSplitterStart()
Called when splitter drag starts.
void RemoveFrameInternal(TGFrame *f)
Remove frame f.
virtual void MapSubwindows()
Virtual method of TGcompositeFrame.
Int_t GetFrameLength(const TGFrame *f) const
virtual void AddFrameWithWeight(TGFrame *f, TGLayoutHints *l, Float_t w)
Add frame f at the end with given weight.
void SetFrameLength(TGFrame *f, Int_t len)
Set pack-wise length of frame f.
Int_t GetAvailableLength() const
Return length of entire frame without splitters.
Bool_t GetUseSplitters() const
Bool_t GetVertical() const