12 #ifndef ROOT_TGSplitFrame
13 #define ROOT_TGSplitFrame
124 void UnSplit(
const char *which);
void SplitVertical(const char *side="left")
Vertically split the frame, and if it contains a child frame, ask the user where to keep it (left or ...
Float_t GetWRatio() const
TGTransientFrame * fUndocked
void SwallowBack()
Swallow back the child frame previously extracted, and close its parent (transient frame)...
TGSplitter * GetSplitter() const
virtual void HSplit(UInt_t h=0)
Horizontally split the frame.
void CloseAndCollapse()
Close (unmap, remove from the list of frames and destroy) the frame contained in this split frame...
TGFrame * GetUndocked() const
Float_t GetHRatio() const
TGSplitFrame * GetSecond() const
TGRectMap(const TGRectMap &)
TGSplitFrame * GetFirst() const
void Close()
Close (unmap and remove from the list of frames) the frame contained in this split frame...
void SetWRatio(Float_t r)
void OnSplitterClicked(Event_t *event)
Handle mouse click events on the splitter.
TGSplitTool * GetSplitTool() const
void SplitHor()
Horizontally split the frame, and if it contains a child frame, ask the user where to keep it (top or...
#define ClassDef(name, id)
void MapToSPlitTool(TGSplitFrame *top)
Map this split frame in the small overview tooltip.
void SplitHorizontal(const char *side="top")
Horizontally split the frame, and if it contains a child frame, ask the user where to keep it (top or...
void SwitchToMain()
Switch the actual embedded frame to the main (first) split frame.
virtual void RemoveFrame(TGFrame *f)
Add a frame in the split frame using layout hints l.
virtual Bool_t HandleConfigureNotify(Event_t *)
Handles resize events for this frame.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save a splittable frame as a C++ statement(s) on output stream out.
TGSplitFrame(const TGSplitFrame &)
void SetHRatio(Float_t r)
Bool_t Contains(Int_t px, Int_t py) const
TGSplitFrame & operator=(const TGSplitFrame &)
TGFrame * GetFrame() const
TMap implements an associative array of (key,value) pairs using a THashTable for efficient retrieval ...
virtual void VSplit(UInt_t w=0)
Vertically split the frame.
void Undocked(TGFrame *frame)
Emit Undocked() signal.
void ExtractFrame()
Extract the frame contained in this split frame an reparent it in a transient frame.
Mother of all ROOT objects.
virtual void Cleanup()
Recursively cleanup child frames.
#define dest(otri, vertexptr)
static void SwitchFrames(TGFrame *frame, TGCompositeFrame *dest, TGFrame *prev)
Switch (exchange) two frames.
virtual ~TGSplitFrame()
Destructor. Make cleanup.
void Docked(TGFrame *frame)
Emit Undocked() signal.
void SplitVer()
Vertically split the frame, and if it contains a child frame, ask the user where to keep it (left or ...
TGRectMap(Int_t rx, Int_t ry, UInt_t rw, UInt_t rh)
TGSplitFrame * GetTopFrame()
Return the top level split frame.
void UnSplit(const char *which)
Close (unmap and remove from the list of frames) the frame contained in this split frame...
TGRectMap & operator=(const TGRectMap &)
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add a frame in the split frame using layout hints l.