94 void Dump()
const override;
Handle_t Window_t
Window handle.
ULong_t Pixel_t
Pixel value.
#define ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void w
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t UChar_t len
void MapSubwindows() override
Map all sub windows that are part of the composite frame.
TGCompositeFrame(const TGCompositeFrame &)=delete
Float_t fWeight
relative weight
TGFrameElementPack * fSplitFE
! cached variable for optimisation
TGFrameElementPack(TGFrame *frame, TGLayoutHints *lh=nullptr, Float_t weight=1)
TGFrameElementPack & operator=(const TGFrameElementPack &)=delete
TGFrameElementPack(const TGFrameElementPack &)=delete
TGFrameElement(const TGFrameElement &)
A subclasses of TGWindow, and is used as base class for some simple widgets (buttons,...
void Resize(UInt_t w=0, UInt_t h=0) override
Resize the frame.
TGFrame(const TGFrame &)=delete
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
This class describes layout hints used by the layout classes.
void MapSubwindows() override
Virtual method of TGcompositeFrame.
void SetUseSplitters(Bool_t x)
void RemoveFrameInternal(TGFrame *f)
Remove frame f.
void ResizeExistingFrames()
Resize (shrink or expand) existing frames by amount in total.
void MoveResize(Int_t x, Int_t y, UInt_t w=0, UInt_t h=0) override
Move and resize the pack.
Int_t GetAvailableLength() const
Return length of entire frame without splitters.
void Dump() const override
Print sub frame info.
virtual void DeleteFrame(TGFrame *f)
Remove frame f and refit existing frames to pack size.
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 RefitFramesToPack()
Refit existing frames to pack size.
TGPack & operator=(const TGPack &)=delete
void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr) override
Add frame f at the end with default weight.
Bool_t GetUseSplitters() const
~TGPack() override
Destructor.
void EqualizeFrames()
Refit existing frames so that their lengths are equal.
void HandleSplitterStart()
Called when splitter drag starts.
Float_t fWeightSum
total sum of sub frame weights
void RemoveFrame(TGFrame *f) override
Remove frame f and refit existing frames to pack size.
TGPack(const TGPack &)=delete
void AddFrameInternal(TGFrame *f, TGLayoutHints *l=nullptr, Float_t weight=1)
Add frame f at the end.
void SetVertical(Bool_t x)
Sets the vertical flag and reformats the back to new stacking direction.
void HandleSplitterResize(Int_t delta)
Handle resize events from splitters.
void SetFrameLength(TGFrame *f, Int_t len)
Set pack-wise length of frame f.
void Resize(UInt_t w=0, UInt_t h=0) override
Resize the pack.
void SetFramePosition(TGFrame *f, Int_t pos)
Set pack-wise position of frame f.
void CheckSplitterVisibility()
Check if splitter of first visible frame is hidden.
Int_t fNVisible
number of visible frames
void Layout() override
Reposition the frames so that they fit correctly.
void ShowFrame(TGFrame *f) override
Show sub frame.
void HideFrame(TGFrame *f) override
Hide sub frame.
void FindFrames(TGFrame *splitter, TGFrameElementPack *&f0, TGFrameElementPack *&f1) const
Find frames around splitter and return them f0 (previous) and f1 (next).
Bool_t GetVertical() const
A splitter allows the frames left and right or above and below of it to be resized.
ROOT GUI Window base class.