TGMdiFrame Class Reference

#include <TGMdiFrame.h>

Inheritance diagram for TGMdiFrame:

TGCompositeFrame TGCompositeFrame TGFrame TGFrame TGFrame TGFrame TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow List of all members.

Public Member Functions

 TGMdiFrame (TGMdiMainFrame *main, Int_t w, Int_t h, UInt_t options=0, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGMdiFrame ()
virtual void Move (Int_t x, Int_t y)
virtual Bool_t CloseWindow ()
virtual Bool_t Help ()
virtual void SetMdiHints (ULong_t mdihints)
ULong_t GetMdiHints () const
void DontCallClose ()
void SetWindowName (const char *name)
void SetWindowIcon (const TGPicture *pic)
const char * GetWindowName ()
const TGPictureGetWindowIcon ()
virtual void SavePrimitive (ostream &out, Option_t *option="")
 TGMdiFrame (TGMdiMainFrame *main, Int_t w, Int_t h, UInt_t options=0, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGMdiFrame ()
virtual void Move (Int_t x, Int_t y)
virtual Bool_t CloseWindow ()
virtual Bool_t Help ()
virtual void SetMdiHints (ULong_t mdihints)
ULong_t GetMdiHints () const
void DontCallClose ()
void SetWindowName (const char *name)
void SetWindowIcon (const TGPicture *pic)
const char * GetWindowName ()
const TGPictureGetWindowIcon ()
virtual void SavePrimitive (ostream &out, Option_t *option="")

Protected Types

enum  
enum  

Protected Member Functions

TString GetMdiHintsString () const
TString GetMdiHintsString () const

Protected Attributes

TGMdiMainFramefMain
ULong_t fMdiHints
TGMdiMainFramefMain

Friends

class TGMdiMainFrame
class TGMdiDecorFrame

Detailed Description

Definition at line 53 of file TGMdiFrame.h.


Member Enumeration Documentation

anonymous enum [protected]

Definition at line 59 of file TGMdiFrame.h.

anonymous enum [protected]

Definition at line 59 of file TGMdiFrame.h.


Constructor & Destructor Documentation

TGMdiFrame::TGMdiFrame ( TGMdiMainFrame main,
Int_t  w,
Int_t  h,
UInt_t  options = 0,
Pixel_t  back = GetDefaultFrameBackground() 
)

TGMdiFrame::~TGMdiFrame (  )  [virtual]

Definition at line 63 of file TGMdiFrame.cxx.

References TGCompositeFrame::Cleanup(), fMain, and TGMdiMainFrame::RemoveMdiFrame().

TGMdiFrame::TGMdiFrame ( TGMdiMainFrame main,
Int_t  w,
Int_t  h,
UInt_t  options = 0,
Pixel_t  back = GetDefaultFrameBackground() 
)

virtual TGMdiFrame::~TGMdiFrame (  )  [virtual]


Member Function Documentation

TString TGMdiFrame::GetMdiHintsString (  )  const [protected]

Definition at line 143 of file TGMdiFrame.cxx.

References fMdiHints, kMdiClose, kMdiDefaultHints, kMdiHelp, kMdiMaximize, kMdiMenu, kMdiMinimize, kMdiMove, kMdiRestore, kMdiSize, and TString::Length().

Referenced by SavePrimitive().

void TGMdiFrame::Move ( Int_t  x,
Int_t  y 
) [virtual]

Reimplemented from TGFrame.

Definition at line 134 of file TGMdiFrame.cxx.

References TGWindow::fParent, TGFrame::fX, and TGFrame::fY.

Bool_t TGMdiFrame::CloseWindow (  )  [virtual]

Definition at line 72 of file TGMdiFrame.cxx.

References TGFrame::DeleteWindow(), and kTRUE.

Referenced by TGMdiDecorFrame::CloseWindow(), TGMdiTestSubclass::CloseWindow(), and TRootGuiBuilder::MaybeCloseWindow().

virtual Bool_t TGMdiFrame::Help (  )  [inline, virtual]

Definition at line 74 of file TGMdiFrame.h.

References kFALSE.

Referenced by TGMdiMainFrame::ContextHelp().

void TGMdiFrame::SetMdiHints ( ULong_t  mdihints  )  [virtual]

Definition at line 91 of file TGMdiFrame.cxx.

References fMdiHints, and TGWindow::fParent.

Referenced by TGMdiHintTest::HandleButtons(), TRootGuiBuilder::NewProject(), TGAppMainFrame::TGAppMainFrame(), and TGMdiHintTest::TGMdiHintTest().

ULong_t TGMdiFrame::GetMdiHints (  )  const [inline]

Definition at line 77 of file TGMdiFrame.h.

References fMdiHints.

void TGMdiFrame::DontCallClose (  ) 

Definition at line 81 of file TGMdiFrame.cxx.

References kDontCallClose, and TObject::SetBit().

Referenced by TRootGuiBuilder::NewProject(), and TGMdiTestSubclass::TGMdiTestSubclass().

void TGMdiFrame::SetWindowName ( const char *  name  )  [virtual]

Reimplemented from TGWindow.

Definition at line 100 of file TGMdiFrame.cxx.

References fMain, TGWindow::fParent, and TGMdiMainFrame::UpdateWinListMenu().

Referenced by TGMdiHintTest::HandleText(), TRootGuiBuilder::NewProject(), TRootGuiBuilder::SaveProject(), TGAppMainFrame::TGAppMainFrame(), and TGMdiHintTest::TGMdiHintTest().

void TGMdiFrame::SetWindowIcon ( const TGPicture pic  ) 

Definition at line 109 of file TGMdiFrame.cxx.

References fMain, TGWindow::fParent, and TGMdiMainFrame::UpdateWinListMenu().

Referenced by TGMdiHintTest::TGMdiHintTest(), and TGMdiTestSubclass::TGMdiTestSubclass().

const char * TGMdiFrame::GetWindowName (  ) 

Definition at line 118 of file TGMdiFrame.cxx.

References TGWindow::fParent.

Referenced by TGMdiTestSubclass::CloseWindow(), and SavePrimitive().

const TGPicture * TGMdiFrame::GetWindowIcon (  ) 

Definition at line 126 of file TGMdiFrame.cxx.

References TGWindow::fParent.

void TGMdiFrame::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TGCompositeFrame.

Definition at line 188 of file TGMdiFrame.cxx.

References TGFrame::fBackground, fMain, TGFrame::GetBorderWidth(), TGMdiFrameList::GetDecorFrame(), TGFrame::GetDefaultFrameBackground(), TGFrame::GetHeight(), GetMdiHintsString(), TGWindow::GetName(), TGFrame::GetOptions(), TGFrame::GetOptionString(), TGMdiDecorFrame::GetTitleBar(), TGFrame::GetWidth(), TGMdiMainFrame::GetWindowList(), GetWindowName(), TGFrame::GetX(), TGFrame::GetY(), TGCompositeFrame::SavePrimitiveSubframes(), and TGFrame::SaveUserColor().

Referenced by TGMdiMainFrame::SavePrimitive().

TString TGMdiFrame::GetMdiHintsString (  )  const [protected]

virtual void TGMdiFrame::Move ( Int_t  x,
Int_t  y 
) [virtual]

Reimplemented from TGFrame.

virtual Bool_t TGMdiFrame::CloseWindow (  )  [virtual]

virtual Bool_t TGMdiFrame::Help (  )  [inline, virtual]

Definition at line 74 of file TGMdiFrame.h.

References kFALSE.

virtual void TGMdiFrame::SetMdiHints ( ULong_t  mdihints  )  [virtual]

ULong_t TGMdiFrame::GetMdiHints (  )  const [inline]

Definition at line 77 of file TGMdiFrame.h.

References fMdiHints.

void TGMdiFrame::DontCallClose (  ) 

void TGMdiFrame::SetWindowName ( const char *  name  )  [virtual]

Reimplemented from TGWindow.

void TGMdiFrame::SetWindowIcon ( const TGPicture pic  ) 

const char* TGMdiFrame::GetWindowName (  ) 

const TGPicture* TGMdiFrame::GetWindowIcon (  ) 

virtual void TGMdiFrame::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TGCompositeFrame.


Friends And Related Function Documentation

TGMdiMainFrame [friend]

Definition at line 55 of file TGMdiFrame.h.

TGMdiDecorFrame [friend]

Definition at line 56 of file TGMdiFrame.h.


Member Data Documentation

TGMdiMainFrame* TGMdiFrame::fMain [protected]

Definition at line 61 of file TGMdiFrame.h.

Referenced by SavePrimitive(), SetWindowIcon(), SetWindowName(), and ~TGMdiFrame().

ULong_t TGMdiFrame::fMdiHints [protected]

Definition at line 62 of file TGMdiFrame.h.

Referenced by GetMdiHints(), GetMdiHintsString(), and SetMdiHints().

TGMdiMainFrame* TGMdiFrame::fMain [protected]

Definition at line 61 of file TGMdiFrame.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:40:17 2011 for ROOT_528-00b_version by  doxygen 1.5.1