33 #ifndef ROOT_TGMdiMenu
34 #define ROOT_TGMdiMenu
53 class TGMdiMenuBar :
public TGCompositeFrame {
55 friend class TGMdiMainFrame;
58 TGCompositeFrame *fLeft, *fRight;
60 TGLayoutHints *fLHint, *fLeftHint;
61 TGLayoutHints *fRightHint, *fBarHint;
63 void AddFrames(TGMdiTitleIcon *icon, TGMdiButtons *buttons);
64 void RemoveFrames(TGMdiTitleIcon *icon, TGMdiButtons *buttons);
65 void ShowFrames(TGMdiTitleIcon *icon, TGMdiButtons *buttons);
66 void HideFrames(TGMdiTitleIcon *icon, TGMdiButtons *buttons);
69 TGMdiMenuBar(
const TGWindow *p, Int_t w = 1, Int_t h = 20);
70 virtual ~TGMdiMenuBar();
72 void AddPopup(TGHotString *s, TGPopupMenu *menu, TGLayoutHints *l);
73 TGMenuBar *GetMenuBar()
const {
return fBar;}
74 virtual void SavePrimitive(std::ostream &out, Option_t *option =
"");
76 ClassDef(TGMdiMenuBar, 0)