33 #ifndef ROOT_TGMdiFrame
34 #define ROOT_TGMdiFrame
48 class TGMdiDecorFrame;
51 class TGMdiFrame :
public TGCompositeFrame {
53 friend class TGMdiMainFrame;
54 friend class TGMdiDecorFrame;
57 enum { kDontCallClose = BIT(14) };
59 TGMdiMainFrame *fMain;
62 TString GetMdiHintsString()
const;
65 TGMdiFrame(TGMdiMainFrame *main, Int_t w, Int_t h,
67 Pixel_t back = GetDefaultFrameBackground());
68 virtual ~TGMdiFrame();
70 virtual void Move(Int_t x, Int_t y);
71 virtual Bool_t CloseWindow();
72 virtual Bool_t Help() {
return kFALSE; }
74 virtual void SetMdiHints(ULong_t mdihints);
75 ULong_t GetMdiHints()
const {
return fMdiHints; }
78 void SetWindowName(
const char *name);
79 void SetWindowIcon(
const TGPicture *pic);
80 const char *GetWindowName();
81 const TGPicture *GetWindowIcon();
83 virtual void SavePrimitive(std::ostream &out, Option_t *option =
"");
85 ClassDef(TGMdiFrame, 0)