177 out <<
"\n // MDI menu bar\n";
179 out <<
" TGMdiMenuBar *" <<
GetName() <<
" = new TGMdiMenuBar(" <<
fParent->GetName() <<
"," <<
GetWidth() <<
","
182 out <<
" " <<
GetName() <<
"->SetName(\"" <<
GetName() <<
"\");\n";
187 out <<
" TGMenuBar *" <<
fBar->
GetName() <<
" = " <<
GetName() <<
"->GetMenuBar();\n";
192 el->fFrame->SavePrimitive(out,
option);
193 el->fLayout->SavePrimitive(out,
option);
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
winID h TVirtualViewer3D TVirtualGLPainter p
The base class for composite widgets (menu bars, list boxes, etc.).
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Add frame to the composite frame using the specified layout hints.
virtual TList * GetList() const
Int_t MustCleanup() const override
TGCompositeFrame(const TGCompositeFrame &)=delete
virtual void ShowFrame(TGFrame *f)
Show sub frame.
TList * fList
container of frame elements
virtual void RemoveFrame(TGFrame *f)
Remove frame from composite frame.
virtual void HideFrame(TGFrame *f)
Hide sub frame.
void ReparentWindow(const TGWindow *p, Int_t x=0, Int_t y=0) override
Reparent window, make p the new parent and position the window at position (x,y) in new parent.
TGHotString is a string with a "hot" character underlined.
This class describes layout hints used by the layout classes.
ROOT GUI Window base class.
const TGWindow * fParent
Parent window.
const char * GetName() const override
Return unique name, used in SavePrimitive methods.