12 #ifndef ROOT_TGSplitFrame 13 #define ROOT_TGSplitFrame 40 fX(rx), fY(ry), fW(rw), fH(rh) { }
45 {
return ((px >= fX) && (px < fX + (
Int_t) fW) &&
46 (py >= fY) && (py < fY + (
Int_t) fH)); }
103 virtual void Cleanup();
105 virtual void HSplit(
UInt_t h = 0);
106 virtual void VSplit(
UInt_t w = 0);
107 virtual void RemoveFrame(
TGFrame *
f);
119 void OnSplitterClicked(
Event_t *event);
122 void SplitHorizontal(
const char *side =
"top");
123 void SplitVertical(
const char *side =
"left");
124 void UnSplit(
const char *which);
129 void CloseAndCollapse();
TGTransientFrame * fUndocked
Float_t GetWRatio() const
Float_t GetHRatio() const
TGRectMap(const TGRectMap &)
void SetWRatio(Float_t r)
TGSplitFrame * GetSecond() const
#define ClassDef(name, id)
TGSplitFrame * GetFirst() const
TGFrame * GetUndocked() const
TGSplitter * GetSplitter() const
TGFrame * GetFrame() const
Bool_t Contains(Int_t px, Int_t py) const
void SetHRatio(Float_t r)
TGSplitTool * GetSplitTool() const
void Reset(Detail::TBranchProxy *x)
TMap implements an associative array of (key,value) pairs using a THashTable for efficient retrieval ...
Mother of all ROOT objects.
#define dest(otri, vertexptr)
TGRectMap(Int_t rx, Int_t ry, UInt_t rw, UInt_t rh)
TGRectMap & operator=(const TGRectMap &)
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save a primitive as a C++ statement(s) on output stream "out".