88 fBar->AddPopup(s, menu,
l);
120 fLeft->RemoveFrame(icon);
121 fRight->RemoveFrame(buttons);
148 fLeft->ShowFrame(icon);
149 fRight->ShowFrame(buttons);
158 fLeft->HideFrame(icon);
159 fRight->HideFrame(buttons);
176 out <<
"\n // MDI menu bar\n";
178 out <<
" TGMdiMenuBar *" <<
GetName() <<
" = new TGMdiMenuBar(" <<
fParent->GetName() <<
"," <<
GetWidth() <<
","
180 if (option && strstr(option,
"keep_names"))
181 out <<
" " <<
GetName() <<
"->SetName(\"" <<
GetName() <<
"\");\n";
186 out <<
" TGMenuBar *" <<
fBar->GetName() <<
" = " <<
GetName() <<
"->GetMenuBar();\n";
191 el->fFrame->SavePrimitive(out, option);
192 el->fLayout->SavePrimitive(out, option);
const char Option_t
Option string (const char).
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Add frame to the composite frame using the specified layout hints.
Int_t MustCleanup() const override
TGCompositeFrame(const TGCompositeFrame &)=delete
TList * fList
container of frame elements
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.
const TGWindow * fParent
Parent window.
const char * GetName() const override
Return unique name, used in SavePrimitive methods.