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 TObject * Last() const
Return the last object in the list. Returns 0 when list is empty.
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 TList * GetList() 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 const char * GetName() const
Return unique name, used in SavePrimitive methods.
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
virtual Int_t MustCleanup() const