61 fBar =
new TGMenuBar(
this, 1, 20, kHorizontalFrame);
64 AddFrame(fLeft, fLeftHint);
65 AddFrame(fBar, fBarHint);
66 AddFrame(fRight, fRightHint);
176 out <<
" // MDI menu bar" << std::endl;
178 out <<
" TGMdiMenuBar *";
181 if (option && strstr(option,
"keep_names"))
182 out <<
" " <<
GetName() <<
"->SetName(\"" <<
GetName() <<
"\");" << std::endl;
187 <<
"->GetMenuBar();" << std::endl;
195 out <<
");" << std::endl;
virtual void HideFrame(TGFrame *f)
Hide sub frame.
virtual const char * GetName() const
Return unique name, used in SavePrimitive methods.
ClassImp(TSeqCollection) Int_t TSeqCollection TIter next(this)
Return index of object in collection.
virtual TList * GetList() const
virtual void ShowFrame(TGFrame *f)
Show sub frame.
virtual void RemoveFrame(TGFrame *f)
Remove frame from composite frame.
virtual void ReparentWindow(const TGWindow *p, Int_t x=0, Int_t y=0)
Reparent window, make p the new parent and position the window at position (x,y) in new parent...
virtual Int_t MustCleanup() const
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save a frame widget as a C++ statement(s) on output stream out.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save a primitive as a C++ statement(s) on output stream "out".
virtual TObject * Last() const
Return the last object in the list. Returns 0 when list is empty.
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.