library: libGui #include "TGMdiFrame.h"

# TGMdiFrame

class description - source file - inheritance tree (.pdf)

## class TGMdiFrame : public TGCompositeFrame

| Inheritance Chart:

`TObject`

<-

`TGObject`

<-

`TGWindow`

`TQObject`

<-

`TGFrame`

<-

`TGCompositeFrame`

<-

`TGMdiFrame`

        protected:

          TString GetMdiHintsString() const

        public:

                           TGMdiFrame(TGMdiMainFrame* main, Int_t w, Int_t h, UInt_t options = 0, Pixel_t back = GetDefaultFrameBackground())
                           TGMdiFrame(const TGMdiFrame&)
                   virtual ~TGMdiFrame()
            static TClass* Class()
            virtual Bool_t CloseWindow()
                      void DontCallClose()
                   ULong_t GetMdiHints() const
          const TGPicture* GetWindowIcon() const
               const char* GetWindowName() const
            virtual Bool_t Help()
           virtual TClass* IsA() const
              virtual void Move(Int_t x, Int_t y)
              virtual void SavePrimitive(ofstream& out, Option_t* option)
              virtual void SetMdiHints(ULong_t mdihints)
                      void SetWindowIcon(const TGPicture* pic)
              virtual void SetWindowName(const char* name)
              virtual void ShowMembers(TMemberInspector& insp, char* parent)
              virtual void Streamer(TBuffer& b)
                      void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

          TGMdiMainFrame* fMain
                  ULong_t fMdiHints

        public:

          static const enum TGMdiFrame:: kDontCallClose

## Class Description

     TGMdiFrame.

     This file contains the TGMdiFrame class.

TGMdiFrame(TGMdiMainFrame *main, Int_t w, Int_t h, UInt_t options, Pixel_t back) : TGCompositeFrame(main->GetContainer(), w, h, options | kOwnBackground | kMdiFrame, back)

~TGMdiFrame()

Bool_t CloseWindow()

void DontCallClose()

     Typically call this method in the slot connected to the CloseWindow()
     signal to prevent the calling of the default or any derived CloseWindow()
     methods to prevent premature or double deletion of this window.

void SetMdiHints(ULong_t mdihints)

void SetWindowName(const char *name)

void SetWindowIcon(const TGPicture *pic)

const char* GetWindowName()

const TGPicture* GetWindowIcon()

void Move(Int_t x, Int_t y)

TString GetMdiHintsString() const

     Returns a MDI option string - used in SavePrimitive().

void SavePrimitive(ofstream &out, Option_t *option)

     Save a MDIframe as a C++ statement(s) on output stream out

### Inline Functions

                 Bool_t Help()
                ULong_t GetMdiHints() const
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
             TGMdiFrame TGMdiFrame(const TGMdiFrame&)

Author: Bertrand Bellenot 20/08/2004
Last update: root/gui:$Name: $:$Id: TGMdiFrame.cxx,v 1.6 2005/01/12 18:39:29 brun Exp $
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *