TGMenuEntry Class Reference

#include <TGMenu.h>

Inheritance diagram for TGMenuEntry:

TObject TObject List of all members.

Public Member Functions

 TGMenuEntry ()
virtual ~TGMenuEntry ()
Int_t GetEntryId () const
const char * GetName () const
const char * GetShortcutText () const
virtual Int_t GetStatus () const
EMenuEntryType GetType () const
TGPopupMenuGetPopup () const
TGHotStringGetLabel () const
TGStringGetShortcut () const
Int_t GetEx () const
Int_t GetEy () const
UInt_t GetEw () const
UInt_t GetEh () const
const TGPictureGetPic () const
void * GetUserData () const
 ClassDef (TGMenuEntry, 0)
 TGMenuEntry ()
virtual ~TGMenuEntry ()
Int_t GetEntryId () const
const char * GetName () const
const char * GetShortcutText () const
virtual Int_t GetStatus () const
EMenuEntryType GetType () const
TGPopupMenuGetPopup () const
TGHotStringGetLabel () const
TGStringGetShortcut () const
Int_t GetEx () const
Int_t GetEy () const
UInt_t GetEw () const
UInt_t GetEh () const
const TGPictureGetPic () const
void * GetUserData () const
 ClassDef (TGMenuEntry, 0)

Protected Attributes

Int_t fEntryId
void * fUserData
EMenuEntryType fType
Int_t fStatus
Int_t fEx
Int_t fEy
UInt_t fEw
UInt_t fEh
TGHotStringfLabel
TGStringfShortcut
const TGPicturefPic
TGPopupMenufPopup
void * fUserData
TGHotStringfLabel
TGStringfShortcut
const TGPicturefPic
TGPopupMenufPopup

Private Member Functions

 TGMenuEntry (const TGMenuEntry &)
TGMenuEntryoperator= (const TGMenuEntry &)
 TGMenuEntry (const TGMenuEntry &)
TGMenuEntryoperator= (const TGMenuEntry &)

Friends

class TGPopupMenu
class TGMenuBar

Detailed Description

Definition at line 77 of file TGMenu.h.


Constructor & Destructor Documentation

TGMenuEntry::TGMenuEntry ( const TGMenuEntry  )  [private]

TGMenuEntry::TGMenuEntry (  )  [inline]

Definition at line 99 of file TGMenu.h.

virtual TGMenuEntry::~TGMenuEntry (  )  [inline, virtual]

Definition at line 101 of file TGMenu.h.

References fLabel, and fShortcut.

TGMenuEntry::TGMenuEntry ( const TGMenuEntry  )  [private]

TGMenuEntry::TGMenuEntry (  )  [inline]

Definition at line 99 of file TGMenu.h.

virtual TGMenuEntry::~TGMenuEntry (  )  [inline, virtual]

Definition at line 101 of file TGMenu.h.

References fLabel, and fShortcut.


Member Function Documentation

TGMenuEntry& TGMenuEntry::operator= ( const TGMenuEntry  )  [private]

Int_t TGMenuEntry::GetEntryId (  )  const [inline]

Definition at line 103 of file TGMenu.h.

References fEntryId.

Referenced by TGSplitButton::HandleMenu(), and TGPopupMenu::SavePrimitive().

const char* TGMenuEntry::GetName (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 104 of file TGMenu.h.

References fLabel, and TGString::GetString().

Referenced by TGMenuBar::Layout(), and TGPopupMenu::SavePrimitive().

const char* TGMenuEntry::GetShortcutText (  )  const [inline]

Definition at line 105 of file TGMenu.h.

References fShortcut, and TGString::GetString().

Referenced by TGPopupMenu::SavePrimitive().

virtual Int_t TGMenuEntry::GetStatus (  )  const [inline, virtual]

Definition at line 106 of file TGMenu.h.

References fStatus.

Referenced by TGMenuBar::HandleKey(), and TGPopupMenu::SavePrimitive().

EMenuEntryType TGMenuEntry::GetType (  )  const [inline]

Definition at line 107 of file TGMenu.h.

References fType.

Referenced by TGMenuBar::BindMenu(), TGMenuBar::HandleKey(), TRootContextMenu::HandleMotion(), TGMenuBar::PopupConnection(), and TGPopupMenu::SavePrimitive().

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

Definition at line 108 of file TGMenu.h.

References fPopup.

Referenced by TGMenuBar::BindMenu(), TGuiBldDragManager::DoClassMenu(), TGMenuBar::HandleKey(), TGMenuBar::Layout(), and TGMenuBar::PopupConnection().

TGHotString* TGMenuEntry::GetLabel (  )  const [inline]

Definition at line 109 of file TGMenu.h.

References fLabel.

Referenced by TGMenuBar::BindMenu(), TGSplitButton::BindMenuKeys(), TGMenuBar::HandleKey(), TGSplitButton::HandleKey(), and TGSplitButton::HandleMenu().

TGString* TGMenuEntry::GetShortcut (  )  const [inline]

Definition at line 110 of file TGMenu.h.

References fShortcut.

Int_t TGMenuEntry::GetEx (  )  const [inline]

Definition at line 111 of file TGMenu.h.

References fEx.

Int_t TGMenuEntry::GetEy (  )  const [inline]

Definition at line 112 of file TGMenu.h.

References fEy.

UInt_t TGMenuEntry::GetEw (  )  const [inline]

Definition at line 113 of file TGMenu.h.

References fEw.

UInt_t TGMenuEntry::GetEh (  )  const [inline]

Definition at line 114 of file TGMenu.h.

References fEh.

const TGPicture* TGMenuEntry::GetPic (  )  const [inline]

Definition at line 115 of file TGMenu.h.

References fPic.

void* TGMenuEntry::GetUserData (  )  const [inline]

Definition at line 116 of file TGMenu.h.

References fUserData.

Referenced by TGuiBldDragManager::DoClassMenu().

TGMenuEntry::ClassDef ( TGMenuEntry  ,
 
)

TGMenuEntry& TGMenuEntry::operator= ( const TGMenuEntry  )  [private]

Int_t TGMenuEntry::GetEntryId (  )  const [inline]

Definition at line 103 of file TGMenu.h.

References fEntryId.

const char* TGMenuEntry::GetName (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 104 of file TGMenu.h.

References fLabel, and TGString::GetString().

const char* TGMenuEntry::GetShortcutText (  )  const [inline]

Definition at line 105 of file TGMenu.h.

References fShortcut, and TGString::GetString().

virtual Int_t TGMenuEntry::GetStatus (  )  const [inline, virtual]

Definition at line 106 of file TGMenu.h.

References fStatus.

EMenuEntryType TGMenuEntry::GetType (  )  const [inline]

Definition at line 107 of file TGMenu.h.

References fType.

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

Definition at line 108 of file TGMenu.h.

References fPopup.

TGHotString* TGMenuEntry::GetLabel (  )  const [inline]

Definition at line 109 of file TGMenu.h.

References fLabel.

TGString* TGMenuEntry::GetShortcut (  )  const [inline]

Definition at line 110 of file TGMenu.h.

References fShortcut.

Int_t TGMenuEntry::GetEx (  )  const [inline]

Definition at line 111 of file TGMenu.h.

References fEx.

Int_t TGMenuEntry::GetEy (  )  const [inline]

Definition at line 112 of file TGMenu.h.

References fEy.

UInt_t TGMenuEntry::GetEw (  )  const [inline]

Definition at line 113 of file TGMenu.h.

References fEw.

UInt_t TGMenuEntry::GetEh (  )  const [inline]

Definition at line 114 of file TGMenu.h.

References fEh.

const TGPicture* TGMenuEntry::GetPic (  )  const [inline]

Definition at line 115 of file TGMenu.h.

References fPic.

void* TGMenuEntry::GetUserData (  )  const [inline]

Definition at line 116 of file TGMenu.h.

References fUserData.

TGMenuEntry::ClassDef ( TGMenuEntry  ,
 
)


Friends And Related Function Documentation

TGPopupMenu [friend]

Definition at line 79 of file TGMenu.h.

TGMenuBar [friend]

Definition at line 80 of file TGMenu.h.


Member Data Documentation

Int_t TGMenuEntry::fEntryId [protected]

Definition at line 83 of file TGMenu.h.

Referenced by TGPopupMenu::AddEntry(), TGPopupMenu::AddLabel(), TGPopupMenu::AddPopup(), TGPopupMenu::AddSeparator(), TGPopupMenu::EndMenu(), and GetEntryId().

void* TGMenuEntry::fUserData [protected]

Definition at line 84 of file TGMenu.h.

Referenced by TGPopupMenu::AddEntry(), TGPopupMenu::AddLabel(), TGPopupMenu::AddPopup(), TGPopupMenu::AddSeparator(), TGPopupMenu::EndMenu(), GetUserData(), and TGPopupMenu::SavePrimitive().

EMenuEntryType TGMenuEntry::fType [protected]

Definition at line 85 of file TGMenu.h.

Referenced by TGPopupMenu::Activate(), TGPopupMenu::AddEntry(), TGPopupMenu::AddLabel(), TGPopupMenu::AddPopup(), TGPopupMenu::AddSeparator(), TGPopupMenu::EndMenu(), GetType(), and TGPopupMenu::HandleTimer().

Int_t TGMenuEntry::fStatus [protected]

Definition at line 86 of file TGMenu.h.

Referenced by TGPopupMenu::Activate(), TGPopupMenu::AddEntry(), TGPopupMenu::AddLabel(), TGPopupMenu::AddPopup(), TGPopupMenu::AddSeparator(), TGPopupMenu::EndMenu(), GetStatus(), and TGPopupMenu::HandleButton().

Int_t TGMenuEntry::fEx [protected]

Definition at line 87 of file TGMenu.h.

Referenced by TGPopupMenu::AddEntry(), TGPopupMenu::AddLabel(), TGPopupMenu::AddPopup(), TGPopupMenu::AddSeparator(), GetEx(), TGMenuBar::HandleKey(), and TGPopupMenu::HandleTimer().

Int_t TGMenuEntry::fEy [protected]

Definition at line 87 of file TGMenu.h.

Referenced by TGPopupMenu::AddEntry(), TGPopupMenu::AddLabel(), TGPopupMenu::AddPopup(), TGPopupMenu::AddSeparator(), GetEy(), TGMenuBar::HandleKey(), and TGPopupMenu::HandleTimer().

UInt_t TGMenuEntry::fEw [protected]

Definition at line 88 of file TGMenu.h.

Referenced by TGPopupMenu::AddEntry(), TGPopupMenu::AddLabel(), TGPopupMenu::AddPopup(), TGPopupMenu::AddSeparator(), and GetEw().

UInt_t TGMenuEntry::fEh [protected]

Definition at line 88 of file TGMenu.h.

Referenced by TGPopupMenu::AddEntry(), TGPopupMenu::AddLabel(), TGPopupMenu::AddPopup(), TGPopupMenu::AddSeparator(), and GetEh().

TGHotString* TGMenuEntry::fLabel [protected]

Definition at line 89 of file TGMenu.h.

Referenced by TGPopupMenu::AddEntry(), TGPopupMenu::AddLabel(), TGPopupMenu::AddPopup(), TGPopupMenu::AddSeparator(), GetLabel(), GetName(), TGPopupMenu::SavePrimitive(), and ~TGMenuEntry().

TGString* TGMenuEntry::fShortcut [protected]

Definition at line 90 of file TGMenu.h.

Referenced by TGPopupMenu::AddEntry(), GetShortcut(), GetShortcutText(), TGPopupMenu::SavePrimitive(), and ~TGMenuEntry().

const TGPicture* TGMenuEntry::fPic [protected]

Definition at line 91 of file TGMenu.h.

Referenced by TGPopupMenu::AddEntry(), TGPopupMenu::AddLabel(), TGPopupMenu::AddPopup(), TGPopupMenu::AddSeparator(), GetPic(), and TGPopupMenu::SavePrimitive().

TGPopupMenu* TGMenuEntry::fPopup [protected]

Definition at line 92 of file TGMenu.h.

Referenced by TGPopupMenu::Activate(), TGPopupMenu::AddEntry(), TGPopupMenu::AddLabel(), TGPopupMenu::AddPopup(), TGPopupMenu::AddSeparator(), TGPopupMenu::EndMenu(), GetPopup(), TGMenuBar::HandleKey(), TGPopupMenu::HandleTimer(), and TGPopupMenu::SavePrimitive().

void* TGMenuEntry::fUserData [protected]

Definition at line 84 of file TGMenu.h.

TGHotString* TGMenuEntry::fLabel [protected]

Definition at line 89 of file TGMenu.h.

TGString* TGMenuEntry::fShortcut [protected]

Definition at line 90 of file TGMenu.h.

const TGPicture* TGMenuEntry::fPic [protected]

Definition at line 91 of file TGMenu.h.

TGPopupMenu* TGMenuEntry::fPopup [protected]

Definition at line 92 of file TGMenu.h.


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