TGAppMainFrame Class Reference

List of all members.

Public Member Functions

 TGAppMainFrame (const TGWindow *p, int w, int h)
void HandleMenu (Int_t id)

Protected Member Functions

void InitMenu ()
void CloseWindow ()

Protected Attributes

TGMainFramefMain
TGMdiMainFramefMainFrame
TGMdiMenuBarfMenuBar
TGLayoutHintsfMenuBarItemLayout
TGPopupMenufMenuFile
TGPopupMenufMenuWindow
TGPopupMenufMenuHelp

Detailed Description

Definition at line 70 of file mditest.C.


Constructor & Destructor Documentation

TGAppMainFrame::TGAppMainFrame ( const TGWindow p,
int  w,
int  h 
)

Definition at line 92 of file mditest.C.

References TGListBox::AddEntry(), TGCompositeFrame::AddFrame(), fMain, fMainFrame, fMenuBar, gClient, TGClient::GetColorByName(), TGMdiMainFrame::GetContainer(), TGPicture::GetHeight(), TGClient::GetPicture(), TGPicture::GetPicture(), TGPicture::GetWidth(), InitMenu(), kFALSE, kHorizontalFrame, kLHintsCenterX, kLHintsCenterY, kLHintsExpandX, kLHintsExpandY, kLHintsTop, kMdiClose, kMdiDefaultHints, kMdiHelp, kMdiMenu, kOwnBackground, kSlider1, kVerticalFrame, TGCompositeFrame::Layout(), TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), p, TGListBox::Resize(), TGFrame::Resize(), TGWindow::SetBackgroundPixmap(), TGMainFrame::SetClassHints(), TGMdiFrame::SetMdiHints(), TGListBox::SetMultipleSelections(), TGMainFrame::SetWindowName(), TGMdiFrame::SetWindowName(), and t.


Member Function Documentation

void TGAppMainFrame::InitMenu (  )  [protected]

Definition at line 239 of file mditest.C.

References TGPopupMenu::AddEntry(), TGPopupMenu::AddPopup(), TGMdiMenuBar::AddPopup(), TGPopupMenu::AddSeparator(), TGPopupMenu::CheckEntry(), TQObject::Connect(), TGPopupMenu::DisableEntry(), fMainFrame, fMenuBar, fMenuBarItemLayout, fMenuFile, fMenuHelp, fMenuWindow, gClient, TGClient::GetRoot(), TGMdiMainFrame::GetWinListMenu(), kLHintsLeft, kLHintsTop, M_FILE_CLOSE, M_FILE_EXIT, M_FILE_NEW, M_HELP_ABOUT, M_HELP_CONTENTS, M_WINDOW_ARRANGE, M_WINDOW_CASCADE, M_WINDOW_HOR, M_WINDOW_OPAQUE, and M_WINDOW_VERT.

Referenced by TGAppMainFrame().

void TGAppMainFrame::CloseWindow (  )  [protected]

Definition at line 283 of file mditest.C.

References gApplication, and TApplication::Terminate().

Referenced by HandleMenu().

void TGAppMainFrame::HandleMenu ( Int_t  id  ) 

Definition at line 190 of file mditest.C.

References TGPopupMenu::CheckEntry(), CloseWindow(), fMainFrame, fMenuWindow, TGPopupMenu::IsEntryChecked(), kMdiNonOpaque, kMdiOpaque, M_FILE_CLOSE, M_FILE_EXIT, M_FILE_NEW, M_WINDOW_ARRANGE, M_WINDOW_CASCADE, M_WINDOW_HOR, M_WINDOW_OPAQUE, M_WINDOW_VERT, and TGPopupMenu::UnCheckEntry().


Member Data Documentation

TGMainFrame* TGAppMainFrame::fMain [protected]

Definition at line 75 of file mditest.C.

Referenced by TGAppMainFrame().

TGMdiMainFrame* TGAppMainFrame::fMainFrame [protected]

Definition at line 76 of file mditest.C.

Referenced by HandleMenu(), InitMenu(), and TGAppMainFrame().

TGMdiMenuBar* TGAppMainFrame::fMenuBar [protected]

Definition at line 77 of file mditest.C.

Referenced by InitMenu(), and TGAppMainFrame().

TGLayoutHints* TGAppMainFrame::fMenuBarItemLayout [protected]

Definition at line 78 of file mditest.C.

Referenced by InitMenu().

TGPopupMenu* TGAppMainFrame::fMenuFile [protected]

Definition at line 79 of file mditest.C.

Referenced by InitMenu().

TGPopupMenu * TGAppMainFrame::fMenuWindow [protected]

Definition at line 79 of file mditest.C.

Referenced by HandleMenu(), and InitMenu().

TGPopupMenu * TGAppMainFrame::fMenuHelp [protected]

Definition at line 79 of file mditest.C.

Referenced by InitMenu().


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