TGMdiMenuBar Class Reference

#include <TGMdiMenu.h>

Inheritance diagram for TGMdiMenuBar:

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

 TGMdiMenuBar (const TGWindow *p, Int_t w=1, Int_t h=20)
virtual ~TGMdiMenuBar ()
void AddPopup (TGHotString *s, TGPopupMenu *menu, TGLayoutHints *l)
TGMenuBarGetMenuBar () const
virtual void SavePrimitive (ostream &out, Option_t *option="")
 TGMdiMenuBar (const TGWindow *p, Int_t w=1, Int_t h=20)
virtual ~TGMdiMenuBar ()
void AddPopup (TGHotString *s, TGPopupMenu *menu, TGLayoutHints *l)
TGMenuBarGetMenuBar () const
virtual void SavePrimitive (ostream &out, Option_t *option="")

Protected Member Functions

void AddFrames (TGMdiTitleIcon *icon, TGMdiButtons *buttons)
void RemoveFrames (TGMdiTitleIcon *icon, TGMdiButtons *buttons)
void ShowFrames (TGMdiTitleIcon *icon, TGMdiButtons *buttons)
void HideFrames (TGMdiTitleIcon *icon, TGMdiButtons *buttons)
void AddFrames (TGMdiTitleIcon *icon, TGMdiButtons *buttons)
void RemoveFrames (TGMdiTitleIcon *icon, TGMdiButtons *buttons)
void ShowFrames (TGMdiTitleIcon *icon, TGMdiButtons *buttons)
void HideFrames (TGMdiTitleIcon *icon, TGMdiButtons *buttons)

Protected Attributes

TGCompositeFramefLeft
TGCompositeFramefRight
TGMenuBarfBar
TGLayoutHintsfLHint
TGLayoutHintsfLeftHint
TGLayoutHintsfRightHint
TGLayoutHintsfBarHint
TGCompositeFramefLeft
TGMenuBarfBar
TGLayoutHintsfLHint
TGLayoutHintsfRightHint

Friends

class TGMdiMainFrame

Detailed Description

Definition at line 57 of file TGMdiMenu.h.


Constructor & Destructor Documentation

TGMdiMenuBar::TGMdiMenuBar ( const TGWindow p,
Int_t  w = 1,
Int_t  h = 20 
)

TGMdiMenuBar::~TGMdiMenuBar (  )  [virtual]

Definition at line 70 of file TGMdiMenu.cxx.

References fBarHint, fLeftHint, fLHint, fRightHint, and TGCompositeFrame::MustCleanup().

TGMdiMenuBar::TGMdiMenuBar ( const TGWindow p,
Int_t  w = 1,
Int_t  h = 20 
)

virtual TGMdiMenuBar::~TGMdiMenuBar (  )  [virtual]


Member Function Documentation

void TGMdiMenuBar::AddFrames ( TGMdiTitleIcon icon,
TGMdiButtons buttons 
) [protected]

Definition at line 92 of file TGMdiMenu.cxx.

References TGCompositeFrame::AddFrame(), TGFrameElement::fFrame, fLeft, fLHint, fRight, TGCompositeFrame::GetList(), TGCompositeFrame::HideFrame(), and TGFrame::ReparentWindow().

Referenced by TGMdiMainFrame::Maximize().

void TGMdiMenuBar::RemoveFrames ( TGMdiTitleIcon icon,
TGMdiButtons buttons 
) [protected]

Definition at line 114 of file TGMdiMenu.cxx.

References TGFrameElement::fFrame, fLeft, fRight, TGCompositeFrame::GetList(), TList::Last(), TGCompositeFrame::RemoveFrame(), and TGCompositeFrame::ShowFrame().

Referenced by TGMdiMainFrame::Restore().

void TGMdiMenuBar::ShowFrames ( TGMdiTitleIcon icon,
TGMdiButtons buttons 
) [protected]

Definition at line 132 of file TGMdiMenu.cxx.

References TGFrameElement::fFrame, fLeft, fRight, TGCompositeFrame::GetList(), TGCompositeFrame::HideFrame(), and TGCompositeFrame::ShowFrame().

Referenced by TGMdiMainFrame::CirculateDown(), TGMdiMainFrame::CirculateUp(), and TGMdiMainFrame::SetCurrent().

void TGMdiMenuBar::HideFrames ( TGMdiTitleIcon icon,
TGMdiButtons buttons 
) [protected]

Definition at line 152 of file TGMdiMenu.cxx.

References TGFrameElement::fFrame, fLeft, fRight, TGCompositeFrame::GetList(), TGCompositeFrame::HideFrame(), TList::Last(), and TGCompositeFrame::ShowFrame().

void TGMdiMenuBar::AddPopup ( TGHotString s,
TGPopupMenu menu,
TGLayoutHints l 
)

Definition at line 83 of file TGMdiMenu.cxx.

References TGMenuBar::AddPopup(), fBar, l, and s.

Referenced by TGAppMainFrame::InitMenu().

TGMenuBar* TGMdiMenuBar::GetMenuBar (  )  const [inline]

Definition at line 77 of file TGMdiMenu.h.

References fBar.

Referenced by TRootGuiBuilder::InitMenu().

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

Reimplemented from TGCompositeFrame.

Definition at line 171 of file TGMdiMenu.cxx.

References fBar, TGFrameElement::fFrame, TGFrameElement::fLayout, TGCompositeFrame::fList, TGWindow::fParent, TGFrame::GetHeight(), TGCompositeFrame::GetList(), TGWindow::GetName(), TGFrame::GetWidth(), out, TGFrame::SavePrimitive(), and TGLayoutHints::SavePrimitive().

void TGMdiMenuBar::AddFrames ( TGMdiTitleIcon icon,
TGMdiButtons buttons 
) [protected]

void TGMdiMenuBar::RemoveFrames ( TGMdiTitleIcon icon,
TGMdiButtons buttons 
) [protected]

void TGMdiMenuBar::ShowFrames ( TGMdiTitleIcon icon,
TGMdiButtons buttons 
) [protected]

void TGMdiMenuBar::HideFrames ( TGMdiTitleIcon icon,
TGMdiButtons buttons 
) [protected]

void TGMdiMenuBar::AddPopup ( TGHotString s,
TGPopupMenu menu,
TGLayoutHints l 
)

TGMenuBar* TGMdiMenuBar::GetMenuBar (  )  const [inline]

Definition at line 77 of file TGMdiMenu.h.

References fBar.

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

Reimplemented from TGCompositeFrame.


Friends And Related Function Documentation

TGMdiMainFrame [friend]

Definition at line 59 of file TGMdiMenu.h.


Member Data Documentation

TGCompositeFrame* TGMdiMenuBar::fLeft [protected]

Definition at line 62 of file TGMdiMenu.h.

Referenced by AddFrames(), HideFrames(), RemoveFrames(), and ShowFrames().

TGCompositeFrame * TGMdiMenuBar::fRight [protected]

Definition at line 62 of file TGMdiMenu.h.

Referenced by AddFrames(), HideFrames(), RemoveFrames(), and ShowFrames().

TGMenuBar* TGMdiMenuBar::fBar [protected]

Definition at line 63 of file TGMdiMenu.h.

Referenced by AddPopup(), GetMenuBar(), and SavePrimitive().

TGLayoutHints* TGMdiMenuBar::fLHint [protected]

Definition at line 64 of file TGMdiMenu.h.

Referenced by AddFrames(), and ~TGMdiMenuBar().

TGLayoutHints * TGMdiMenuBar::fLeftHint [protected]

Definition at line 64 of file TGMdiMenu.h.

Referenced by ~TGMdiMenuBar().

TGLayoutHints* TGMdiMenuBar::fRightHint [protected]

Definition at line 65 of file TGMdiMenu.h.

Referenced by ~TGMdiMenuBar().

TGLayoutHints * TGMdiMenuBar::fBarHint [protected]

Definition at line 65 of file TGMdiMenu.h.

Referenced by ~TGMdiMenuBar().

TGCompositeFrame* TGMdiMenuBar::fLeft [protected]

Definition at line 62 of file TGMdiMenu.h.

TGMenuBar* TGMdiMenuBar::fBar [protected]

Definition at line 63 of file TGMdiMenu.h.

TGLayoutHints* TGMdiMenuBar::fLHint [protected]

Definition at line 64 of file TGMdiMenu.h.

TGLayoutHints* TGMdiMenuBar::fRightHint [protected]

Definition at line 65 of file TGMdiMenu.h.


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