TGMdiTitleIcon Class Reference

#include <TGMdiDecorFrame.h>

Inheritance diagram for TGMdiTitleIcon:

TGIcon TGIcon 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

 TGMdiTitleIcon (const TGWindow *p, const TGWindow *titlebar, const TGPicture *pic, Int_t w, Int_t h)
virtual ~TGMdiTitleIcon ()
virtual Bool_t HandleDoubleClick (Event_t *event)
virtual Bool_t HandleButton (Event_t *event)
TGPopupMenuGetPopup () const
 TGMdiTitleIcon (const TGWindow *p, const TGWindow *titlebar, const TGPicture *pic, Int_t w, Int_t h)
virtual ~TGMdiTitleIcon ()
virtual Bool_t HandleDoubleClick (Event_t *event)
virtual Bool_t HandleButton (Event_t *event)
TGPopupMenuGetPopup () const

Protected Member Functions

virtual void DoRedraw ()
virtual void DoRedraw ()

Protected Attributes

const TGWindowfMsgWindow
TGPopupMenufPopup
const TGWindowfMsgWindow
TGPopupMenufPopup

Friends

class TGMdiFrame
class TGMdiTitleBar

Detailed Description

Definition at line 175 of file TGMdiDecorFrame.h.


Constructor & Destructor Documentation

TGMdiTitleIcon::TGMdiTitleIcon ( const TGWindow p,
const TGWindow titlebar,
const TGPicture pic,
Int_t  w,
Int_t  h 
)

Definition at line 681 of file TGMdiDecorFrame.cxx.

References TGPopupMenu::AddEntry(), TGFrame::AddInput(), TGPopupMenu::AddSeparator(), TGPopupMenu::Associate(), TGPopupMenu::DisableEntry(), TGObject::fClient, TGWindow::fEditDisabled, fMsgWindow, fPopup, TGClient::GetDefaultRoot(), kButtonPressMask, kButtonReleaseMask, kMdiClose, kMdiMaximize, kMdiMinimize, kMdiMove, kMdiRestore, kMdiSize, kTRUE, and TGWindow::SetWindowName().

TGMdiTitleIcon::~TGMdiTitleIcon (  )  [virtual]

Definition at line 711 of file TGMdiDecorFrame.cxx.

References fPopup.

TGMdiTitleIcon::TGMdiTitleIcon ( const TGWindow p,
const TGWindow titlebar,
const TGPicture pic,
Int_t  w,
Int_t  h 
)

virtual TGMdiTitleIcon::~TGMdiTitleIcon (  )  [virtual]


Member Function Documentation

void TGMdiTitleIcon::DoRedraw (  )  [protected, virtual]

Reimplemented from TGIcon.

Definition at line 719 of file TGMdiDecorFrame.cxx.

References TGIcon::DoRedraw(), TGFrame::fHeight, TGObject::fId, TGFrame::fWidth, and gVirtualX.

Referenced by TGMdiTitleBar::SetTitleBarColors().

Bool_t TGMdiTitleIcon::HandleDoubleClick ( Event_t event  )  [virtual]

Reimplemented from TGFrame.

Definition at line 728 of file TGMdiDecorFrame.cxx.

References TGPopupMenu::EndMenu(), Event_t::fCode, fMsgWindow, fPopup, gVirtualX, kButton1, kC_COMMAND, kCM_MENU, kFALSE, kMDI_CLOSE, kTRUE, MK_MSG(), and TGFrame::SendMessage().

Bool_t TGMdiTitleIcon::HandleButton ( Event_t event  )  [virtual]

Reimplemented from TGFrame.

Definition at line 742 of file TGMdiDecorFrame.cxx.

References TGFrame::fHeight, fMsgWindow, fPopup, Event_t::fType, Event_t::fX, Event_t::fXRoot, Event_t::fY, Event_t::fYRoot, kButtonPress, kC_COMMAND, kCM_MENU, kMDI_CURRENT, kTRUE, MK_MSG(), TGPopupMenu::PlaceMenu(), and TGFrame::SendMessage().

TGPopupMenu* TGMdiTitleIcon::GetPopup (  )  const [inline]

Definition at line 193 of file TGMdiDecorFrame.h.

References fPopup.

Referenced by TGMdiTitleBar::HandleButton(), TGMdiDecorFrame::HandleButton(), and TGMdiTitleBar::LayoutButtons().

virtual void TGMdiTitleIcon::DoRedraw (  )  [protected, virtual]

Reimplemented from TGIcon.

virtual Bool_t TGMdiTitleIcon::HandleDoubleClick ( Event_t event  )  [virtual]

Reimplemented from TGFrame.

virtual Bool_t TGMdiTitleIcon::HandleButton ( Event_t event  )  [virtual]

Reimplemented from TGFrame.

TGPopupMenu* TGMdiTitleIcon::GetPopup (  )  const [inline]

Definition at line 193 of file TGMdiDecorFrame.h.

References fPopup.


Friends And Related Function Documentation

TGMdiFrame [friend]

Definition at line 177 of file TGMdiDecorFrame.h.

TGMdiTitleBar [friend]

Definition at line 178 of file TGMdiDecorFrame.h.


Member Data Documentation

const TGWindow* TGMdiTitleIcon::fMsgWindow [protected]

Definition at line 181 of file TGMdiDecorFrame.h.

Referenced by HandleButton(), HandleDoubleClick(), and TGMdiTitleIcon().

TGPopupMenu* TGMdiTitleIcon::fPopup [protected]

Definition at line 182 of file TGMdiDecorFrame.h.

Referenced by GetPopup(), HandleButton(), HandleDoubleClick(), TGMdiTitleIcon(), and ~TGMdiTitleIcon().

const TGWindow* TGMdiTitleIcon::fMsgWindow [protected]

Definition at line 181 of file TGMdiDecorFrame.h.

TGPopupMenu* TGMdiTitleIcon::fPopup [protected]

Definition at line 182 of file TGMdiDecorFrame.h.


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