TGPopupMenu Class Reference

#include <TGMenu.h>

Inheritance diagram for TGPopupMenu:

TGFrame TGFrame TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TGuiBldPopupMenu TRootContextMenu TRootContextMenu List of all members.

Public Member Functions

 TGPopupMenu (const TGWindow *p=0, UInt_t w=10, UInt_t h=10, UInt_t options=0)
virtual ~TGPopupMenu ()
virtual void AddEntry (TGHotString *s, Int_t id, void *ud=0, const TGPicture *p=0, TGMenuEntry *before=0)
virtual void AddEntry (const char *s, Int_t id, void *ud=0, const TGPicture *p=0, TGMenuEntry *before=0)
virtual void AddSeparator (TGMenuEntry *before=0)
virtual void AddLabel (TGHotString *s, const TGPicture *p=0, TGMenuEntry *before=0)
virtual void AddLabel (const char *s, const TGPicture *p=0, TGMenuEntry *before=0)
virtual void AddPopup (TGHotString *s, TGPopupMenu *popup, TGMenuEntry *before=0, const TGPicture *p=0)
virtual void AddPopup (const char *s, TGPopupMenu *popup, TGMenuEntry *before=0, const TGPicture *p=0)
virtual void EnableEntry (Int_t id)
virtual void DisableEntry (Int_t id)
virtual Bool_t IsEntryEnabled (Int_t id)
virtual void HideEntry (Int_t id)
virtual Bool_t IsEntryHidden (Int_t id)
virtual void DefaultEntry (Int_t id)
virtual void CheckEntry (Int_t id)
virtual void CheckEntryByData (void *user_data)
virtual void UnCheckEntry (Int_t id)
virtual void UnCheckEntryByData (void *user_data)
virtual void UnCheckEntries ()
virtual Bool_t IsEntryChecked (Int_t id)
virtual void RCheckEntry (Int_t id, Int_t IDfirst, Int_t IDlast)
virtual Bool_t IsEntryRChecked (Int_t id)
virtual void PlaceMenu (Int_t x, Int_t y, Bool_t stick_mode, Bool_t grab_pointer)
virtual Int_t EndMenu (void *&userData)
virtual void DeleteEntry (Int_t id)
virtual void DeleteEntry (TGMenuEntry *entry)
virtual TGMenuEntry * GetEntry (Int_t id)
virtual TGMenuEntry * GetCurrent () const
virtual TGMenuEntry * GetEntry (const char *s)
const TList * GetListOfEntries () const
virtual void DrawBorder ()
virtual Bool_t HandleButton (Event_t *event)
virtual Bool_t HandleMotion (Event_t *event)
virtual Bool_t HandleCrossing (Event_t *event)
virtual Bool_t HandleTimer (TTimer *t)
virtual void Associate (const TGWindow *w)
virtual void SetMenuBar (TGMenuBar *bar)
TGMenuBar * GetMenuBar () const
virtual void Activate (Bool_t)
virtual void Activate (TGMenuEntry *entry)
virtual void SavePrimitive (ostream &out, Option_t *option="")
UInt_t GetEntrySep () const
virtual void SetEntrySep (UInt_t sep)
virtual void PoppedUp ()
virtual void PoppedDown ()
virtual void Highlighted (Int_t id)
virtual void Activated (Int_t id)
 TGPopupMenu (const TGWindow *p=0, UInt_t w=10, UInt_t h=10, UInt_t options=0)
virtual ~TGPopupMenu ()
virtual void AddEntry (TGHotString *s, Int_t id, void *ud=0, const TGPicture *p=0, TGMenuEntry *before=0)
virtual void AddEntry (const char *s, Int_t id, void *ud=0, const TGPicture *p=0, TGMenuEntry *before=0)
virtual void AddSeparator (TGMenuEntry *before=0)
virtual void AddLabel (TGHotString *s, const TGPicture *p=0, TGMenuEntry *before=0)
virtual void AddLabel (const char *s, const TGPicture *p=0, TGMenuEntry *before=0)
virtual void AddPopup (TGHotString *s, TGPopupMenu *popup, TGMenuEntry *before=0, const TGPicture *p=0)
virtual void AddPopup (const char *s, TGPopupMenu *popup, TGMenuEntry *before=0, const TGPicture *p=0)
virtual void EnableEntry (Int_t id)
virtual void DisableEntry (Int_t id)
virtual Bool_t IsEntryEnabled (Int_t id)
virtual void HideEntry (Int_t id)
virtual Bool_t IsEntryHidden (Int_t id)
virtual void DefaultEntry (Int_t id)
virtual void CheckEntry (Int_t id)
virtual void CheckEntryByData (void *user_data)
virtual void UnCheckEntry (Int_t id)
virtual void UnCheckEntryByData (void *user_data)
virtual void UnCheckEntries ()
virtual Bool_t IsEntryChecked (Int_t id)
virtual void RCheckEntry (Int_t id, Int_t IDfirst, Int_t IDlast)
virtual Bool_t IsEntryRChecked (Int_t id)
virtual void PlaceMenu (Int_t x, Int_t y, Bool_t stick_mode, Bool_t grab_pointer)
virtual Int_t EndMenu (void *&userData)
virtual void DeleteEntry (Int_t id)
virtual void DeleteEntry (TGMenuEntry *entry)
virtual TGMenuEntry * GetEntry (Int_t id)
virtual TGMenuEntry * GetCurrent () const
virtual TGMenuEntry * GetEntry (const char *s)
const TList * GetListOfEntries () const
virtual void DrawBorder ()
virtual Bool_t HandleButton (Event_t *event)
virtual Bool_t HandleMotion (Event_t *event)
virtual Bool_t HandleCrossing (Event_t *event)
virtual Bool_t HandleTimer (TTimer *t)
virtual void Associate (const TGWindow *w)
virtual void SetMenuBar (TGMenuBar *bar)
TGMenuBar * GetMenuBar () const
virtual void Activate (Bool_t)
virtual void Activate (TGMenuEntry *entry)
virtual void SavePrimitive (ostream &out, Option_t *option="")
UInt_t GetEntrySep () const
virtual void SetEntrySep (UInt_t sep)
virtual void PoppedUp ()
virtual void PoppedDown ()
virtual void Highlighted (Int_t id)
virtual void Activated (Int_t id)

Protected Member Functions

void DrawTrianglePattern (GContext_t gc, Int_t l, Int_t t, Int_t r, Int_t b)
void DrawCheckMark (GContext_t gc, Int_t l, Int_t t, Int_t r, Int_t b)
void DrawRCheckMark (GContext_t gc, Int_t l, Int_t t, Int_t r, Int_t b)
virtual void DoRedraw ()
virtual void DrawEntry (TGMenuEntry *entry)
virtual void Reposition ()
void DrawTrianglePattern (GContext_t gc, Int_t l, Int_t t, Int_t r, Int_t b)
void DrawCheckMark (GContext_t gc, Int_t l, Int_t t, Int_t r, Int_t b)
void DrawRCheckMark (GContext_t gc, Int_t l, Int_t t, Int_t r, Int_t b)
virtual void DoRedraw ()
virtual void DrawEntry (TGMenuEntry *entry)
virtual void Reposition ()

Static Protected Member Functions

static FontStruct_t GetDefaultFontStruct ()
static FontStruct_t GetHilightFontStruct ()
static const TGGC & GetDefaultGC ()
static const TGGC & GetDefaultSelectedGC ()
static const TGGC & GetDefaultSelectedBackgroundGC ()
static FontStruct_t GetDefaultFontStruct ()
static FontStruct_t GetHilightFontStruct ()
static const TGGC & GetDefaultGC ()
static const TGGC & GetDefaultSelectedGC ()
static const TGGC & GetDefaultSelectedBackgroundGC ()

Protected Attributes

TList * fEntryList
TGMenuEntry * fCurrent
Bool_t fStick
Bool_t fHasGrab
Bool_t fPoppedUp
UInt_t fXl
UInt_t fMenuWidth
UInt_t fMenuHeight
TTimer * fDelay
GContext_t fNormGC
GContext_t fSelGC
GContext_t fSelbackGC
FontStruct_t fFontStruct
FontStruct_t fHifontStruct
Cursor_t fDefaultCursor
const TGWindow * fMsgWindow
TGMenuBar * fMenuBar
TGSplitButton * fSplitButton
UInt_t fEntrySep
TList * fEntryList
TGMenuEntry * fCurrent
TTimer * fDelay
const TGWindow * fMsgWindow
TGMenuBar * fMenuBar
TGSplitButton * fSplitButton

Static Protected Attributes

static const TGFont * fgDefaultFont
static const TGFont * fgHilightFont
static const TGGC * fgDefaultGC
static const TGGC * fgDefaultSelectedGC
static const TGGC * fgDefaultSelectedBackgroundGC
static const TGFont * fgDefaultFont
static const TGFont * fgHilightFont
static const TGGC * fgDefaultGC
static const TGGC * fgDefaultSelectedGC
static const TGGC * fgDefaultSelectedBackgroundGC

Private Member Functions

 TGPopupMenu (const TGPopupMenu &)
TGPopupMenu & operator= (const TGPopupMenu &)
 TGPopupMenu (const TGPopupMenu &)
TGPopupMenu & operator= (const TGPopupMenu &)

Friends

class TGMenuTitle
class TGMenuBar
class TGSplitButton

Detailed Description

Definition at line 131 of file TGMenu.h.


Constructor & Destructor Documentation

TGPopupMenu::TGPopupMenu ( const TGPopupMenu &   )  [private]

Referenced by TRootContextMenu::CreateMenu(), and TRootContextMenu::FindHierarchy().

TGPopupMenu::TGPopupMenu ( const TGWindow *  p = 0,
UInt_t  w = 10,
UInt_t  h = 10,
UInt_t  options = 0 
)

Definition at line 910 of file TGMenu.cxx.

References TGFrame::AddInput(), TGFrame::fBorderWidth, TGObject::fClient, fCurrent, fDefaultCursor, fDelay, fEntryList, fEntrySep, GCValues_t::fFont, fFontStruct, fHasGrab, fHifontStruct, TGObject::fId, SetWindowAttributes_t::fMask, GCValues_t::fMask, fMenuBar, fMenuHeight, fMenuWidth, fMsgWindow, fNormGC, SetWindowAttributes_t::fOverrideRedirect, fPoppedUp, SetWindowAttributes_t::fSaveUnder, fSelbackGC, fSelGC, fSplitButton, fStick, fXl, GetDefaultFontStruct(), GetDefaultGC(), GetDefaultSelectedBackgroundGC(), GetDefaultSelectedGC(), TGResourcePool::GetGrabCursor(), GetHilightFontStruct(), TGClient::GetResourcePool(), gVirtualX, kEnterWindowMask, kFALSE, kGCFont, kLeaveWindowMask, kPointerMotionMask, kTRUE, kWAOverrideRedirect, kWASaveUnder, and p.

TGPopupMenu::~TGPopupMenu (  )  [virtual]

Definition at line 958 of file TGMenu.cxx.

References TList::Delete(), fDelay, and fEntryList.

TGPopupMenu::TGPopupMenu ( const TGPopupMenu &   )  [private]

TGPopupMenu::TGPopupMenu ( const TGWindow *  p = 0,
UInt_t  w = 10,
UInt_t  h = 10,
UInt_t  options = 0 
)

virtual TGPopupMenu::~TGPopupMenu (  )  [virtual]


Member Function Documentation

void TGPopupMenu::DrawTrianglePattern ( GContext_t  gc,
Int_t  l,
Int_t  t,
Int_t  r,
Int_t  b 
) [protected]

Definition at line 1578 of file TGMenu.cxx.

References TGObject::fId, gVirtualX, m, and points.

Referenced by DrawEntry(), and TGuiBldPopupMenu::DrawEntry().

void TGPopupMenu::DrawCheckMark ( GContext_t  gc,
Int_t  l,
Int_t  t,
Int_t  r,
Int_t  b 
) [protected]

Definition at line 1599 of file TGMenu.cxx.

References TGObject::fId, Segment_t::fX1, Segment_t::fX2, Segment_t::fY1, Segment_t::fY2, and gVirtualX.

Referenced by DrawEntry(), and TGuiBldPopupMenu::DrawEntry().

void TGPopupMenu::DrawRCheckMark ( GContext_t  gc,
Int_t  l,
Int_t  t,
Int_t  r,
Int_t  b 
) [protected]

Definition at line 1618 of file TGMenu.cxx.

References TGObject::fId, Segment_t::fX1, Segment_t::fX2, Segment_t::fY1, Segment_t::fY2, and gVirtualX.

Referenced by DrawEntry(), and TGuiBldPopupMenu::DrawEntry().

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

Reimplemented from TGFrame.

Definition at line 1456 of file TGMenu.cxx.

References TGFrame::DoRedraw(), DrawEntry(), fEntryList, and ptr.

void TGPopupMenu::DrawEntry ( TGMenuEntry *  entry  )  [protected, virtual]

Definition at line 1470 of file TGMenu.cxx.

References DrawCheckMark(), DrawRCheckMark(), DrawTrianglePattern(), entry, fEntrySep, GCValues_t::fFont, fFontStruct, fHifontStruct, TGObject::fId, GCValues_t::fMask, fMenuWidth, fNormGC, fSelbackGC, fSelGC, fXl, TGFrame::GetBckgndGC(), TGFrame::GetHilightGC(), TGFrame::GetShadowGC(), gVirtualX, kGCFont, kMenuActiveMask, kMenuCheckedMask, kMenuDefaultMask, kMenuEnableMask, kMenuEntry, kMenuHideMask, kMenuLabel, kMenuPopup, kMenuRadioMask, and kMenuSeparator.

Referenced by Activate(), DoRedraw(), and TRootContextMenu::DrawEntry().

void TGPopupMenu::Reposition (  )  [protected, virtual]

Definition at line 1189 of file TGMenu.cxx.

References fEntryList, fMenuHeight, fMenuWidth, fXl, kMenuHideMask, TMath::Max(), ptr, and TGFrame::Resize().

Referenced by AddEntry(), AddLabel(), AddPopup(), AddSeparator(), DeleteEntry(), EnableEntry(), and HideEntry().

FontStruct_t TGPopupMenu::GetDefaultFontStruct (  )  [static, protected]

Definition at line 1942 of file TGMenu.cxx.

References fgDefaultFont, gClient, TGFont::GetFontStruct(), TGResourcePool::GetMenuFont(), and TGClient::GetResourcePool().

Referenced by TGPopupMenu().

FontStruct_t TGPopupMenu::GetHilightFontStruct (  )  [static, protected]

Definition at line 1952 of file TGMenu.cxx.

References fgHilightFont, gClient, TGFont::GetFontStruct(), TGResourcePool::GetMenuHiliteFont(), and TGClient::GetResourcePool().

Referenced by TGPopupMenu().

const TGGC & TGPopupMenu::GetDefaultGC (  )  [static, protected]

Definition at line 1912 of file TGMenu.cxx.

References fgDefaultGC, gClient, TGResourcePool::GetFrameGC(), and TGClient::GetResourcePool().

Referenced by TGPopupMenu().

const TGGC & TGPopupMenu::GetDefaultSelectedGC (  )  [static, protected]

Definition at line 1922 of file TGMenu.cxx.

References fgDefaultSelectedGC, gClient, TGClient::GetResourcePool(), and TGResourcePool::GetSelectedGC().

Referenced by TGPopupMenu().

const TGGC & TGPopupMenu::GetDefaultSelectedBackgroundGC (  )  [static, protected]

Definition at line 1932 of file TGMenu.cxx.

References fgDefaultSelectedBackgroundGC, gClient, TGClient::GetResourcePool(), and TGResourcePool::GetSelectedBckgndGC().

Referenced by TGPopupMenu().

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

void TGPopupMenu::AddEntry ( TGHotString *  s,
Int_t  id,
void *  ud = 0,
const TGPicture *  p = 0,
TGMenuEntry *  before = 0 
) [virtual]

Definition at line 968 of file TGMenu.cxx.

References TList::Add(), TList::AddBefore(), TGMenuEntry::fEh, TGMenuEntry::fEntryId, fEntryList, fEntrySep, TGMenuEntry::fEw, TGMenuEntry::fEx, TGMenuEntry::fEy, fHifontStruct, TGMenuEntry::fLabel, fMenuHeight, fMenuWidth, TGMenuEntry::fPic, TGMenuEntry::fPopup, TGMenuEntry::fShortcut, TGMenuEntry::fStatus, TGMenuEntry::fType, TGMenuEntry::fUserData, fXl, gVirtualX, kMenuEnableMask, kMenuEntry, TMath::Max(), p, TString::Remove(), Reposition(), TGFrame::Resize(), s, and ts.

Referenced by TGuiBldDragManager::AddClassMenuMethods(), TGuiBldDragManager::AddDialogMethods(), AddEntry(), TRootContextMenu::AddEntrySorted(), TStyleManager::AddMenus(), TGTextEditor::Build(), TSessionViewer::Build(), TGRootIDE::Build(), TTreeViewer::BuildInterface(), ClassImp(), TRootBrowser::CreateBrowser(), TRootBrowserLite::CreateBrowser(), TRootCanvas::CreateCanvas(), TRootContextMenu::CreateMenu(), TGLSAViewer::CreateMenus(), TViewerX3D::CreateViewer(), DNDMainFrame::DNDMainFrame(), TestMainFrame::HandleMenu(), TGTextEdit::Init(), TGAppMainFrame::InitMenu(), TRootGuiBuilder::InitMenu(), WorldMap::InitRU(), WorldMap::InitUS(), RootShower::MakeMenuBarFrame(), TGuiBldDragManager::Menu4Frame(), TGuiBldDragManager::Menu4Lasso(), TGHtmlBrowser::ProcessMessage(), SplitButtonTest::SplitButtonTest(), SplitButtonWindow::SplitButtonWindow(), SplitGLView::SplitGLView(), TestFileList::TestFileList(), TestMainFrame::TestMainFrame(), TEveBrowser::TEveBrowser(), TGHtmlBrowser::TGHtmlBrowser(), TGMdiTitleIcon::TGMdiTitleIcon(), TGMdiMainFrame::UpdateWinListMenu(), and XSGui::XSGui().

void TGPopupMenu::AddEntry ( const char *  s,
Int_t  id,
void *  ud = 0,
const TGPicture *  p = 0,
TGMenuEntry *  before = 0 
) [virtual]

Definition at line 1030 of file TGMenu.cxx.

References AddEntry(), and p.

void TGPopupMenu::AddSeparator ( TGMenuEntry *  before = 0  )  [virtual]

Definition at line 1040 of file TGMenu.cxx.

References TList::Add(), TList::AddBefore(), TGMenuEntry::fEh, TGMenuEntry::fEntryId, fEntryList, TGMenuEntry::fEw, TGMenuEntry::fEx, TGMenuEntry::fEy, TGMenuEntry::fLabel, fMenuHeight, fMenuWidth, TGMenuEntry::fPic, TGMenuEntry::fPopup, TGMenuEntry::fStatus, TGMenuEntry::fType, TGMenuEntry::fUserData, kMenuEnableMask, kMenuSeparator, Reposition(), and TGFrame::Resize().

Referenced by TGuiBldDragManager::AddDialogMethods(), TStyleManager::AddMenus(), TGTextEditor::Build(), TSessionViewer::Build(), TGRootIDE::Build(), TTreeViewer::BuildInterface(), TRootBrowser::CreateBrowser(), TRootBrowserLite::CreateBrowser(), TRootCanvas::CreateCanvas(), TRootContextMenu::CreateMenu(), TGLSAViewer::CreateMenus(), TViewerX3D::CreateViewer(), DNDMainFrame::DNDMainFrame(), TGTextEdit::Init(), TGAppMainFrame::InitMenu(), TRootGuiBuilder::InitMenu(), WorldMap::InitRU(), WorldMap::InitUS(), RootShower::MakeMenuBarFrame(), TGuiBldDragManager::Menu4Frame(), TGuiBldDragManager::Menu4Lasso(), SplitButtonTest::SplitButtonTest(), SplitButtonWindow::SplitButtonWindow(), SplitGLView::SplitGLView(), TestFileList::TestFileList(), TestMainFrame::TestMainFrame(), TEveBrowser::TEveBrowser(), TGHtmlBrowser::TGHtmlBrowser(), TGMdiTitleIcon::TGMdiTitleIcon(), TGMenuBar::TGMenuBar(), and XSGui::XSGui().

void TGPopupMenu::AddLabel ( TGHotString *  s,
const TGPicture *  p = 0,
TGMenuEntry *  before = 0 
) [virtual]

Definition at line 1073 of file TGMenu.cxx.

References TList::Add(), TList::AddBefore(), TGMenuEntry::fEh, TGMenuEntry::fEntryId, fEntryList, fEntrySep, TGMenuEntry::fEw, TGMenuEntry::fEx, TGMenuEntry::fEy, fHifontStruct, TGMenuEntry::fLabel, fMenuHeight, fMenuWidth, TGMenuEntry::fPic, TGMenuEntry::fPopup, TGMenuEntry::fStatus, TGMenuEntry::fType, TGMenuEntry::fUserData, fXl, gVirtualX, kMenuDefaultMask, kMenuEnableMask, kMenuLabel, TMath::Max(), p, Reposition(), TGFrame::Resize(), and s.

Referenced by AddLabel(), TSessionViewer::Build(), TRootCanvas::CreateCanvas(), TRootContextMenu::CreateMenu(), WorldMap::InitRU(), WorldMap::InitUS(), RootShower::MakeMenuBarFrame(), TGuiBldDragManager::Menu4Frame(), TGuiBldDragManager::Menu4Lasso(), TestMainFrame::TestMainFrame(), TGMenuBar::TGMenuBar(), and XSGui::XSGui().

void TGPopupMenu::AddLabel ( const char *  s,
const TGPicture *  p = 0,
TGMenuEntry *  before = 0 
) [virtual]

Definition at line 1121 of file TGMenu.cxx.

References AddLabel(), and p.

void TGPopupMenu::AddPopup ( TGHotString *  s,
TGPopupMenu *  popup,
TGMenuEntry *  before = 0,
const TGPicture *  p = 0 
) [virtual]

Definition at line 1131 of file TGMenu.cxx.

References TList::Add(), TList::AddBefore(), TGMenuEntry::fEh, TGMenuEntry::fEntryId, fEntryList, fEntrySep, TGMenuEntry::fEw, TGMenuEntry::fEx, TGMenuEntry::fEy, fHifontStruct, TGMenuEntry::fLabel, fMenuHeight, fMenuWidth, TGMenuEntry::fPic, TGMenuEntry::fPopup, TGMenuEntry::fStatus, TGMenuEntry::fType, TGMenuEntry::fUserData, fXl, gVirtualX, kMenuEnableMask, kMenuPopup, TMath::Max(), p, Reposition(), TGFrame::Resize(), and s.

Referenced by TGuiBldDragManager::AddClassMenuMethods(), TStyleManager::AddMenus(), AddPopup(), TSessionViewer::Build(), TTreeViewer::BuildInterface(), TRootBrowser::CreateBrowser(), TRootBrowserLite::CreateBrowser(), TRootCanvas::CreateCanvas(), TRootContextMenu::CreateMenu(), TGLSAViewer::CreateMenus(), TRootContextMenu::FindHierarchy(), TGAppMainFrame::InitMenu(), TGMenuBar::Layout(), TestMainFrame::TestMainFrame(), and TEveBrowser::TEveBrowser().

void TGPopupMenu::AddPopup ( const char *  s,
TGPopupMenu *  popup,
TGMenuEntry *  before = 0,
const TGPicture *  p = 0 
) [virtual]

Definition at line 1179 of file TGMenu.cxx.

References AddPopup(), and p.

void TGPopupMenu::EnableEntry ( Int_t  id  )  [virtual]

Definition at line 1653 of file TGMenu.cxx.

References fEntryList, kMenuEnableMask, kMenuHideMask, ptr, and Reposition().

Referenced by TRootGuiBuilder::CloseWindow(), TStyleManager::DoSelectCanvas(), TGSplitButton::HandleMenu(), TRootGuiBuilder::HandleMenu(), TestMainFrame::HandleMenu(), TGTextEditor::HandleTimer(), TGRootIDE::HandleTimer(), TRootGuiBuilder::HandleWindowClosed(), TGMdiTitleBar::LayoutButtons(), TRootGuiBuilder::NewProject(), TSessionViewer::OnListTreeClicked(), RootShower::OnOpenFile(), TRootGuiBuilder::OpenProject(), TGRootIDE::ProcessMessage(), TGTextEditor::ProcessMessage(), RootShower::ProcessMessage(), RootShower::Produce(), TGTextEdit::SetMenuState(), TGSplitButton::SetSplit(), TRootGuiBuilder::Update(), and TSessionViewer::UpdateListOfProofs().

void TGPopupMenu::DisableEntry ( Int_t  id  )  [virtual]

Definition at line 1672 of file TGMenu.cxx.

References fEntryList, kMenuEnableMask, and ptr.

Referenced by TGTextEditor::Build(), TSessionViewer::Build(), TGRootIDE::Build(), TTreeViewer::BuildInterface(), TRootGuiBuilder::CloseWindow(), TRootBrowserLite::CreateBrowser(), TRootCanvas::CreateCanvas(), TViewerX3D::CreateViewer(), TStyleManager::DoSelectNoCanvas(), TRootGuiBuilder::HandleMenu(), TestMainFrame::HandleMenu(), TGTextEditor::HandleTimer(), TGRootIDE::HandleTimer(), TRootGuiBuilder::HandleWindowClosed(), TGAppMainFrame::InitMenu(), TRootGuiBuilder::InitMenu(), TGMdiTitleBar::LayoutButtons(), RootShower::MakeMenuBarFrame(), TSessionViewer::OnListTreeClicked(), RootShower::ProcessMessage(), RootShower::Produce(), TGTextEdit::SetMenuState(), SplitButtonTest::SplitButtonTest(), SplitButtonWindow::SplitButtonWindow(), TestMainFrame::TestMainFrame(), TGMdiTitleIcon::TGMdiTitleIcon(), TRootGuiBuilder::Update(), TSessionViewer::UpdateListOfProofs(), TGMdiMainFrame::UpdateWinListMenu(), and XSGui::XSGui().

Bool_t TGPopupMenu::IsEntryEnabled ( Int_t  id  )  [virtual]

Definition at line 1684 of file TGMenu.cxx.

References fEntryList, kFALSE, kMenuEnableMask, kTRUE, and ptr.

Referenced by TGTextEdit::HandleKey().

void TGPopupMenu::HideEntry ( Int_t  id  )  [virtual]

Definition at line 1698 of file TGMenu.cxx.

References fEntryList, kMenuEnableMask, kMenuHideMask, ptr, and Reposition().

Referenced by TGSplitButton::HandleMenu(), TestMainFrame::HandleMenu(), and TGSplitButton::SetSplit().

Bool_t TGPopupMenu::IsEntryHidden ( Int_t  id  )  [virtual]

Definition at line 1716 of file TGMenu.cxx.

References fEntryList, kFALSE, kMenuHideMask, kTRUE, and ptr.

void TGPopupMenu::DefaultEntry ( Int_t  id  )  [virtual]

Definition at line 1637 of file TGMenu.cxx.

References fEntryList, kMenuDefaultMask, and ptr.

void TGPopupMenu::CheckEntry ( Int_t  id  )  [virtual]

Definition at line 1730 of file TGMenu.cxx.

References fEntryList, kMenuCheckedMask, and ptr.

Referenced by TSessionViewer::Build(), TRootBrowserLite::CreateBrowser(), TRootCanvas::CreateCanvas(), TRootContextMenu::CreateMenu(), TGLSAViewer::EnableMenuBarHiding(), TEveBrowser::EveMenu(), TRootGuiBuilder::HandleMenu(), TestMainFrame::HandleMenu(), TGAppMainFrame::HandleMenu(), TGAppMainFrame::InitMenu(), TRootGuiBuilder::InitMenu(), TRootCanvas::InitWindow(), RootShower::MakeMenuBarFrame(), TTreeViewer::MapOptions(), SplitGLView::OnViewerActivated(), TSessionViewer::ProcessMessage(), TRootBrowserLite::ProcessMessage(), RootShower::ProcessMessage(), TRootCanvas::ProcessMessage(), TSessionViewer::ReadConfiguration(), TRootCanvas::ShowEditor(), TRootBrowserLite::ShowStatusBar(), TRootCanvas::ShowStatusBar(), TRootCanvas::ShowToolBar(), TRootBrowserLite::ShowToolBar(), RootShower::ShowToolBar(), TRootCanvas::ShowToolTips(), TEveBrowser::TEveBrowser(), TGLSAViewer::ToggleEditObject(), SplitGLView::ToggleOrthoDolly(), TGLSAViewer::ToggleOrthoDolly(), TGLSAViewer::ToggleOrthoRotate(), and SplitGLView::ToggleOrthoRotate().

void TGPopupMenu::CheckEntryByData ( void *  user_data  )  [virtual]

Definition at line 1742 of file TGMenu.cxx.

References fEntryList, kMenuCheckedMask, and ptr.

Referenced by TGuiBldDragManager::AddClassMenuMethods().

void TGPopupMenu::UnCheckEntry ( Int_t  id  )  [virtual]

Definition at line 1755 of file TGMenu.cxx.

References fEntryList, kMenuCheckedMask, and ptr.

Referenced by TRootBrowserLite::CreateBrowser(), TGLSAViewer::DisableMenuBarHiding(), TEveBrowser::EveMenu(), TRootGuiBuilder::HandleMenu(), TestMainFrame::HandleMenu(), TGAppMainFrame::HandleMenu(), TTreeViewer::MapOptions(), SplitGLView::OnViewerActivated(), TSessionViewer::ProcessMessage(), TRootBrowserLite::ProcessMessage(), RootShower::ProcessMessage(), TRootCanvas::ProcessMessage(), TSessionViewer::ReadConfiguration(), TRootCanvas::SetCanvasSize(), TRootCanvas::ShowEditor(), TRootBrowserLite::ShowStatusBar(), TRootCanvas::ShowStatusBar(), TRootCanvas::ShowToolBar(), TRootBrowserLite::ShowToolBar(), RootShower::ShowToolBar(), TRootCanvas::ShowToolTips(), TGLSAViewer::ToggleEditObject(), SplitGLView::ToggleOrthoDolly(), TGLSAViewer::ToggleOrthoDolly(), TGLSAViewer::ToggleOrthoRotate(), and SplitGLView::ToggleOrthoRotate().

void TGPopupMenu::UnCheckEntryByData ( void *  user_data  )  [virtual]

Definition at line 1780 of file TGMenu.cxx.

References fEntryList, kMenuCheckedMask, and ptr.

void TGPopupMenu::UnCheckEntries (  )  [virtual]

Definition at line 1767 of file TGMenu.cxx.

References fEntryList, kMenuCheckedMask, and ptr.

Bool_t TGPopupMenu::IsEntryChecked ( Int_t  id  )  [virtual]

Definition at line 1793 of file TGMenu.cxx.

References fEntryList, kFALSE, kMenuCheckedMask, kTRUE, and ptr.

Referenced by TRootCanvas::AdjustSize(), TEveBrowser::EveMenu(), TRootGuiBuilder::HandleMenu(), TestMainFrame::HandleMenu(), TGAppMainFrame::HandleMenu(), TRootCanvas::HasEditor(), TTreeViewer::MapOptions(), TSessionServerFrame::OnBtnConnectClicked(), TSessionQueryFrame::OnBtnSubmit(), TSessionViewer::OnCascadeMenu(), TSessionViewer::ProcessMessage(), TRootBrowserLite::ProcessMessage(), RootShower::ProcessMessage(), TGLSAViewer::SelectionChanged(), TRootCanvas::ShowEditor(), TRootCanvas::ShowToolBar(), TGLSAViewer::ToggleEditObject(), SplitGLView::ToggleOrthoDolly(), TGLSAViewer::ToggleOrthoDolly(), TGLSAViewer::ToggleOrthoRotate(), SplitGLView::ToggleOrthoRotate(), TSessionQueryFrame::UpdateHistos(), and TSessionViewer::WriteConfiguration().

void TGPopupMenu::RCheckEntry ( Int_t  id,
Int_t  IDfirst,
Int_t  IDlast 
) [virtual]

Definition at line 1807 of file TGMenu.cxx.

References fEntryList, kMenuRadioEntryMask, kMenuRadioMask, and ptr.

Referenced by TEveBrowser::EveMenu(), TGMdiMainFrame::SetCurrent(), TRootBrowserLite::SetSortMode(), TRootBrowserLite::SetViewMode(), TEveBrowser::TEveBrowser(), and TGMdiMainFrame::UpdateWinListMenu().

Bool_t TGPopupMenu::IsEntryRChecked ( Int_t  id  )  [virtual]

Definition at line 1826 of file TGMenu.cxx.

References fEntryList, kFALSE, kMenuRadioMask, kTRUE, and ptr.

Referenced by SavePrimitive().

void TGPopupMenu::PlaceMenu ( Int_t  x,
Int_t  y,
Bool_t  stick_mode,
Bool_t  grab_pointer 
) [virtual]

Definition at line 1219 of file TGMenu.cxx.

References TGMenuBar::BindKeys(), EndMenu(), TGObject::fClient, fCurrent, fDefaultCursor, fHasGrab, TGObject::fId, fMenuBar, fMenuHeight, fMenuWidth, TGWindow::fParent, fPoppedUp, fStick, TGObject::GetId(), gVirtualX, kButtonPressMask, kButtonReleaseMask, kFALSE, kNone, kPointerMotionMask, kTRUE, TGFrame::MapRaised(), TGFrame::Move(), PoppedUp(), and TGClient::RegisterPopup().

Referenced by TRootContextMenu::DisplayPopup(), TGRegionWithId::DisplayPopup(), TGTextEdit::HandleButton(), TGImageMap::HandleButton(), TGMdiTitleIcon::HandleButton(), TGMenuBar::HandleKey(), HandleTimer(), TGuiBldDragManager::Menu4Frame(), TGuiBldDragManager::Menu4Lasso(), TSessionViewer::OnListTreeClicked(), TGSplitButton::SetMenuState(), and TGMenuTitle::SetState().

Int_t TGPopupMenu::EndMenu ( void *&  userData  )  [virtual]

Definition at line 1262 of file TGMenu.cxx.

References TGMenuBar::BindKeys(), EndMenu(), fCurrent, fDelay, TGMenuEntry::fEntryId, fMenuBar, fPoppedUp, TGMenuEntry::fPopup, TGMenuEntry::fStatus, TGMenuEntry::fType, TGMenuEntry::fUserData, gClient, id, kFALSE, kMenuActiveMask, kMenuEnableMask, kMenuPopup, PoppedDown(), TTimer::Remove(), TGFrame::UnmapWindow(), and TGClient::UnregisterPopup().

Referenced by Activate(), TGuiBldDragManager::CloseMenus(), EndMenu(), TGMdiTitleBar::HandleButton(), TGMdiDecorFrame::HandleButton(), HandleButton(), TRootContextMenu::HandleButton(), TGMdiTitleIcon::HandleDoubleClick(), TGMenuBar::HandleKey(), PlaceMenu(), TRootContextMenu::RecursiveRemove(), TGSplitButton::SetMenuState(), and TGMenuTitle::SetState().

void TGPopupMenu::DeleteEntry ( Int_t  id  )  [virtual]

Definition at line 1874 of file TGMenu.cxx.

References fCurrent, fEntryList, ptr, TList::Remove(), and Reposition().

Referenced by TGLSAViewer::DisableCloseMenuEntries(), TestMainFrame::HandleMenu(), TGMenuBar::Layout(), and TGMdiMainFrame::UpdateWinListMenu().

void TGPopupMenu::DeleteEntry ( TGMenuEntry *  entry  )  [virtual]

Definition at line 1893 of file TGMenu.cxx.

References entry, fCurrent, fEntryList, ptr, TList::Remove(), and Reposition().

TGMenuEntry * TGPopupMenu::GetEntry ( Int_t  id  )  [virtual]

Definition at line 1840 of file TGMenu.cxx.

References fEntryList, and ptr.

Referenced by TGuiBldDragManager::AddDialogMethods(), TGSplitButton::HandleMenu(), TestMainFrame::HandleMenu(), TGHtmlBrowser::ProcessMessage(), and TGSplitButton::SetSplit().

virtual TGMenuEntry* TGPopupMenu::GetCurrent (  )  const [inline, virtual]

Definition at line 219 of file TGMenu.h.

References fCurrent.

Referenced by TGuiBldDragManager::DoClassMenu(), TGSplitButton::HandleButton(), TGMenuBar::HandleKey(), TGSplitButton::HandleKey(), TGSplitButton::HandleSButton(), and TGMenuBar::PopupConnection().

TGMenuEntry * TGPopupMenu::GetEntry ( const char *  s  )  [virtual]

Definition at line 1859 of file TGMenu.cxx.

References fEntryList, and TList::FindObject().

const TList* TGPopupMenu::GetListOfEntries (  )  const [inline]

Definition at line 221 of file TGMenu.h.

References fEntryList.

Referenced by TRootContextMenu::AddEntrySorted(), TGMenuBar::BindMenu(), TGSplitButton::BindMenuKeys(), TRootContextMenu::CreateMenu(), TRootContextMenu::FindHierarchy(), TGMenuBar::HandleKey(), TGSplitButton::HandleKey(), TGSplitButton::HandleMenu(), TGMenuBar::Layout(), TRootBrowser::RecursiveReparent(), SavePrimitive(), TGSplitButton::SetMenuState(), TGSplitButton::TGSplitButton(), and TGMdiMainFrame::UpdateWinListMenu().

void TGPopupMenu::DrawBorder (  )  [virtual]

Reimplemented from TGFrame.

Definition at line 1562 of file TGMenu.cxx.

References fEntrySep, TGObject::fId, fMenuHeight, fMenuWidth, TGFrame::GetBckgndGC(), TGFrame::GetBlackGC(), TGFrame::GetHilightGC(), TGFrame::GetShadowGC(), and gVirtualX.

Bool_t TGPopupMenu::HandleButton ( Event_t *  event  )  [virtual]

Reimplemented from TGFrame.

Definition at line 1312 of file TGMenu.cxx.

References Activated(), EndMenu(), fCurrent, fHasGrab, fMsgWindow, TGMenuEntry::fStatus, fStick, Event_t::fType, gVirtualX, id, kButtonRelease, kC_COMMAND, kCM_MENU, kFALSE, kMenuActiveMask, kMenuEnableMask, kTRUE, MK_MSG(), and TGFrame::SendMessage().

Referenced by TRootContextMenu::HandleButton(), and TGMenuBar::HandleKey().

Bool_t TGPopupMenu::HandleMotion ( Event_t *  event  )  [virtual]

Reimplemented from TGFrame.

Definition at line 1368 of file TGMenu.cxx.

References Activate(), fEntryList, fMenuWidth, fStick, Event_t::fX, Event_t::fY, TGFrame::HandleMotion(), kFALSE, kMenuHideMask, kTRUE, and ptr.

Referenced by TRootContextMenu::HandleMotion().

Bool_t TGPopupMenu::HandleCrossing ( Event_t *  event  )  [virtual]

Reimplemented from TGFrame.

Definition at line 1341 of file TGMenu.cxx.

References Activate(), fEntryList, TGSplitButton::fKeyNavigate, TGMenuBar::fKeyNavigate, fMenuBar, fMenuWidth, fSplitButton, Event_t::fType, Event_t::fX, Event_t::fY, kEnterNotify, kFALSE, kMenuHideMask, kTRUE, and ptr.

Referenced by TRootContextMenu::HandleCrossing().

Bool_t TGPopupMenu::HandleTimer ( TTimer *  t  )  [virtual]

Reimplemented from TGWindow.

Definition at line 1432 of file TGMenu.cxx.

References fCurrent, fDelay, TGMenuEntry::fEx, TGMenuEntry::fEy, TGObject::fId, fMenuWidth, TGMenuEntry::fPopup, TGMenuEntry::fType, TGObject::GetId(), TGWindow::GetParent(), gVirtualX, kFALSE, kMenuPopup, kTRUE, PlaceMenu(), and TTimer::Remove().

virtual void TGPopupMenu::Associate ( const TGWindow *  w  )  [inline, virtual]

Definition at line 227 of file TGMenu.h.

References fMsgWindow, and w.

Referenced by TStyleManager::AddMenus(), TGTextEditor::Build(), TSessionViewer::Build(), TGRootIDE::Build(), TTreeViewer::BuildInterface(), TRootBrowserLite::CreateBrowser(), TRootCanvas::CreateCanvas(), TGLSAViewer::CreateMenus(), TViewerX3D::CreateViewer(), TGTextEdit::Init(), RootShower::MakeMenuBarFrame(), TestFileList::TestFileList(), TestMainFrame::TestMainFrame(), TGHtmlBrowser::TGHtmlBrowser(), TGMdiTitleIcon::TGMdiTitleIcon(), and XSGui::XSGui().

virtual void TGPopupMenu::SetMenuBar ( TGMenuBar *  bar  )  [inline, virtual]

Definition at line 228 of file TGMenu.h.

References fMenuBar.

Referenced by TGMenuTitle::TGMenuTitle().

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

Definition at line 229 of file TGMenu.h.

References fMenuBar.

virtual void TGPopupMenu::Activate ( Bool_t   )  [inline, virtual]

Reimplemented from TGFrame.

Definition at line 230 of file TGMenu.h.

Referenced by HandleCrossing(), TGMenuBar::HandleKey(), TGSplitButton::HandleKey(), and HandleMotion().

void TGPopupMenu::Activate ( TGMenuEntry *  entry  )  [virtual]

Definition at line 1391 of file TGMenu.cxx.

References TSystem::AddTimer(), DrawEntry(), EndMenu(), entry, fCurrent, fDelay, fMsgWindow, TGMenuEntry::fPopup, TGMenuEntry::fStatus, TGMenuEntry::fType, gSystem, Highlighted(), kC_COMMAND, kCM_MENUSELECT, kMenuActiveMask, kMenuEntry, kMenuPopup, MK_MSG(), TTimer::Remove(), TTimer::Reset(), and TGFrame::SendMessage().

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

Reimplemented from TGFrame.

Definition at line 2106 of file TGMenu.cxx.

References TSystem::ExpandPathName(), TGMenuEntry::fLabel, TGMenuEntry::fPic, TGMenuEntry::fPopup, TGMenuEntry::fShortcut, TGMenuEntry::fUserData, TGMenuEntry::GetEntryId(), TGFrame::GetHeight(), TGHotString::GetHotPos(), TGString::GetLength(), GetListOfEntries(), TGWindow::GetName(), TGMenuEntry::GetName(), TGPicture::GetName(), TGFrame::GetOptionString(), TGMenuEntry::GetShortcutText(), TGMenuEntry::GetStatus(), TGMenuEntry::GetType(), TGFrame::GetWidth(), gSystem, i, IsEntryRChecked(), kFALSE, kMenuCheckedMask, kMenuDefaultMask, kMenuEnableMask, kMenuEntry, kMenuHideMask, kMenuLabel, kMenuPopup, kMenuRadioEntryMask, kMenuSeparator, kTRUE, SavePrimitive(), snprintf, text(), and TSystem::UnixPathName().

Referenced by TGMenuTitle::SavePrimitive(), and SavePrimitive().

UInt_t TGPopupMenu::GetEntrySep (  )  const [inline]

Definition at line 234 of file TGMenu.h.

References fEntrySep.

virtual void TGPopupMenu::SetEntrySep ( UInt_t  sep  )  [inline, virtual]

Definition at line 235 of file TGMenu.h.

References fEntrySep.

virtual void TGPopupMenu::PoppedUp (  )  [inline, virtual]

Definition at line 237 of file TGMenu.h.

References TQObject::Emit().

Referenced by PlaceMenu().

virtual void TGPopupMenu::PoppedDown (  )  [inline, virtual]

Definition at line 238 of file TGMenu.h.

References TQObject::Emit().

Referenced by EndMenu().

virtual void TGPopupMenu::Highlighted ( Int_t  id  )  [inline, virtual]

Definition at line 239 of file TGMenu.h.

References TQObject::Emit().

Referenced by Activate().

virtual void TGPopupMenu::Activated ( Int_t  id  )  [inline, virtual]

Definition at line 240 of file TGMenu.h.

References TQObject::Emit().

Referenced by TGMenuTitle::DoSendMessage(), HandleButton(), TGSplitButton::HandleButton(), TRootBrowser::HandleKey(), and TGSplitButton::HandleSButton().

void TGPopupMenu::DrawTrianglePattern ( GContext_t  gc,
Int_t  l,
Int_t  t,
Int_t  r,
Int_t  b 
) [protected]

void TGPopupMenu::DrawCheckMark ( GContext_t  gc,
Int_t  l,
Int_t  t,
Int_t  r,
Int_t  b 
) [protected]

void TGPopupMenu::DrawRCheckMark ( GContext_t  gc,
Int_t  l,
Int_t  t,
Int_t  r,
Int_t  b 
) [protected]

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

Reimplemented from TGFrame.

virtual void TGPopupMenu::DrawEntry ( TGMenuEntry *  entry  )  [protected, virtual]

virtual void TGPopupMenu::Reposition (  )  [protected, virtual]

static FontStruct_t TGPopupMenu::GetDefaultFontStruct (  )  [static, protected]

static FontStruct_t TGPopupMenu::GetHilightFontStruct (  )  [static, protected]

static const TGGC& TGPopupMenu::GetDefaultGC (  )  [static, protected]

static const TGGC& TGPopupMenu::GetDefaultSelectedGC (  )  [static, protected]

static const TGGC& TGPopupMenu::GetDefaultSelectedBackgroundGC (  )  [static, protected]

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

virtual void TGPopupMenu::AddEntry ( TGHotString *  s,
Int_t  id,
void *  ud = 0,
const TGPicture *  p = 0,
TGMenuEntry *  before = 0 
) [virtual]

virtual void TGPopupMenu::AddEntry ( const char *  s,
Int_t  id,
void *  ud = 0,
const TGPicture *  p = 0,
TGMenuEntry *  before = 0 
) [virtual]

virtual void TGPopupMenu::AddSeparator ( TGMenuEntry *  before = 0  )  [virtual]

virtual void TGPopupMenu::AddLabel ( TGHotString *  s,
const TGPicture *  p = 0,
TGMenuEntry *  before = 0 
) [virtual]

virtual void TGPopupMenu::AddLabel ( const char *  s,
const TGPicture *  p = 0,
TGMenuEntry *  before = 0 
) [virtual]

virtual void TGPopupMenu::AddPopup ( TGHotString *  s,
TGPopupMenu *  popup,
TGMenuEntry *  before = 0,
const TGPicture *  p = 0 
) [virtual]

virtual void TGPopupMenu::AddPopup ( const char *  s,
TGPopupMenu *  popup,
TGMenuEntry *  before = 0,
const TGPicture *  p = 0 
) [virtual]

virtual void TGPopupMenu::EnableEntry ( Int_t  id  )  [virtual]

virtual void TGPopupMenu::DisableEntry ( Int_t  id  )  [virtual]

virtual Bool_t TGPopupMenu::IsEntryEnabled ( Int_t  id  )  [virtual]

virtual void TGPopupMenu::HideEntry ( Int_t  id  )  [virtual]

virtual Bool_t TGPopupMenu::IsEntryHidden ( Int_t  id  )  [virtual]

virtual void TGPopupMenu::DefaultEntry ( Int_t  id  )  [virtual]

virtual void TGPopupMenu::CheckEntry ( Int_t  id  )  [virtual]

virtual void TGPopupMenu::CheckEntryByData ( void *  user_data  )  [virtual]

virtual void TGPopupMenu::UnCheckEntry ( Int_t  id  )  [virtual]

virtual void TGPopupMenu::UnCheckEntryByData ( void *  user_data  )  [virtual]

virtual void TGPopupMenu::UnCheckEntries (  )  [virtual]

virtual Bool_t TGPopupMenu::IsEntryChecked ( Int_t  id  )  [virtual]

virtual void TGPopupMenu::RCheckEntry ( Int_t  id,
Int_t  IDfirst,
Int_t  IDlast 
) [virtual]

virtual Bool_t TGPopupMenu::IsEntryRChecked ( Int_t  id  )  [virtual]

virtual void TGPopupMenu::PlaceMenu ( Int_t  x,
Int_t  y,
Bool_t  stick_mode,
Bool_t  grab_pointer 
) [virtual]

virtual Int_t TGPopupMenu::EndMenu ( void *&  userData  )  [virtual]

virtual void TGPopupMenu::DeleteEntry ( Int_t  id  )  [virtual]

virtual void TGPopupMenu::DeleteEntry ( TGMenuEntry *  entry  )  [virtual]

virtual TGMenuEntry* TGPopupMenu::GetEntry ( Int_t  id  )  [virtual]

virtual TGMenuEntry* TGPopupMenu::GetCurrent (  )  const [inline, virtual]

Definition at line 219 of file TGMenu.h.

References fCurrent.

virtual TGMenuEntry* TGPopupMenu::GetEntry ( const char *  s  )  [virtual]

const TList* TGPopupMenu::GetListOfEntries (  )  const [inline]

Definition at line 221 of file TGMenu.h.

References fEntryList.

virtual void TGPopupMenu::DrawBorder (  )  [virtual]

Reimplemented from TGFrame.

virtual Bool_t TGPopupMenu::HandleButton ( Event_t *  event  )  [virtual]

Reimplemented from TGFrame.

virtual Bool_t TGPopupMenu::HandleMotion ( Event_t *  event  )  [virtual]

Reimplemented from TGFrame.

virtual Bool_t TGPopupMenu::HandleCrossing ( Event_t *  event  )  [virtual]

Reimplemented from TGFrame.

virtual Bool_t TGPopupMenu::HandleTimer ( TTimer *  t  )  [virtual]

Reimplemented from TGWindow.

virtual void TGPopupMenu::Associate ( const TGWindow *  w  )  [inline, virtual]

Definition at line 227 of file TGMenu.h.

References fMsgWindow, and w.

virtual void TGPopupMenu::SetMenuBar ( TGMenuBar *  bar  )  [inline, virtual]

Definition at line 228 of file TGMenu.h.

References fMenuBar.

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

Definition at line 229 of file TGMenu.h.

References fMenuBar.

virtual void TGPopupMenu::Activate ( Bool_t   )  [inline, virtual]

Reimplemented from TGFrame.

Definition at line 230 of file TGMenu.h.

virtual void TGPopupMenu::Activate ( TGMenuEntry *  entry  )  [virtual]

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

Reimplemented from TGFrame.

UInt_t TGPopupMenu::GetEntrySep (  )  const [inline]

Definition at line 234 of file TGMenu.h.

References fEntrySep.

virtual void TGPopupMenu::SetEntrySep ( UInt_t  sep  )  [inline, virtual]

Definition at line 235 of file TGMenu.h.

References fEntrySep.

virtual void TGPopupMenu::PoppedUp (  )  [inline, virtual]

Definition at line 237 of file TGMenu.h.

References TQObject::Emit().

virtual void TGPopupMenu::PoppedDown (  )  [inline, virtual]

Definition at line 238 of file TGMenu.h.

References TQObject::Emit().

virtual void TGPopupMenu::Highlighted ( Int_t  id  )  [inline, virtual]

Definition at line 239 of file TGMenu.h.

References TQObject::Emit().

virtual void TGPopupMenu::Activated ( Int_t  id  )  [inline, virtual]

Definition at line 240 of file TGMenu.h.

References TQObject::Emit().


Friends And Related Function Documentation

TGMenuTitle [friend]

Definition at line 133 of file TGMenu.h.

TGMenuBar [friend]

Definition at line 134 of file TGMenu.h.

TGSplitButton [friend]

Definition at line 135 of file TGMenu.h.


Member Data Documentation

TList* TGPopupMenu::fEntryList [protected]

Definition at line 138 of file TGMenu.h.

Referenced by AddEntry(), AddLabel(), AddPopup(), AddSeparator(), CheckEntry(), CheckEntryByData(), DefaultEntry(), DeleteEntry(), DisableEntry(), TRootContextMenu::DisplayPopup(), DoRedraw(), EnableEntry(), GetEntry(), GetListOfEntries(), HandleCrossing(), HandleMotion(), HideEntry(), IsEntryChecked(), IsEntryEnabled(), IsEntryHidden(), IsEntryRChecked(), RCheckEntry(), Reposition(), TGPopupMenu(), UnCheckEntries(), UnCheckEntry(), UnCheckEntryByData(), and ~TGPopupMenu().

TGMenuEntry* TGPopupMenu::fCurrent [protected]

Definition at line 139 of file TGMenu.h.

Referenced by Activate(), DeleteEntry(), TRootContextMenu::DisplayPopup(), EndMenu(), GetCurrent(), HandleButton(), TRootContextMenu::HandleMotion(), HandleTimer(), PlaceMenu(), and TGPopupMenu().

Bool_t TGPopupMenu::fStick [protected]

Definition at line 140 of file TGMenu.h.

Referenced by HandleButton(), TGMenuBar::HandleKey(), HandleMotion(), PlaceMenu(), and TGPopupMenu().

Bool_t TGPopupMenu::fHasGrab [protected]

Definition at line 141 of file TGMenu.h.

Referenced by HandleButton(), TRootContextMenu::HandleButton(), PlaceMenu(), TRootContextMenu::RecursiveRemove(), and TGPopupMenu().

Bool_t TGPopupMenu::fPoppedUp [protected]

Definition at line 142 of file TGMenu.h.

Referenced by EndMenu(), TGMenuBar::HandleKey(), PlaceMenu(), and TGPopupMenu().

UInt_t TGPopupMenu::fXl [protected]

Definition at line 143 of file TGMenu.h.

Referenced by AddEntry(), AddLabel(), AddPopup(), DrawEntry(), TGuiBldPopupMenu::DrawEntry(), Reposition(), and TGPopupMenu().

UInt_t TGPopupMenu::fMenuWidth [protected]

Definition at line 144 of file TGMenu.h.

Referenced by AddEntry(), AddLabel(), AddPopup(), AddSeparator(), TRootContextMenu::DisplayPopup(), DrawBorder(), DrawEntry(), TRootContextMenu::DrawEntry(), TGuiBldPopupMenu::DrawEntry(), TRootContextMenu::HandleButton(), HandleCrossing(), TGMenuBar::HandleKey(), HandleMotion(), TRootContextMenu::HandleMotion(), HandleTimer(), PlaceMenu(), Reposition(), and TGPopupMenu().

UInt_t TGPopupMenu::fMenuHeight [protected]

Definition at line 145 of file TGMenu.h.

Referenced by AddEntry(), AddLabel(), AddPopup(), AddSeparator(), TRootContextMenu::DisplayPopup(), DrawBorder(), PlaceMenu(), Reposition(), and TGPopupMenu().

TTimer* TGPopupMenu::fDelay [protected]

Definition at line 146 of file TGMenu.h.

Referenced by Activate(), EndMenu(), HandleTimer(), TGPopupMenu(), and ~TGPopupMenu().

GContext_t TGPopupMenu::fNormGC [protected]

Definition at line 147 of file TGMenu.h.

Referenced by DrawEntry(), TGuiBldPopupMenu::DrawEntry(), and TGPopupMenu().

GContext_t TGPopupMenu::fSelGC [protected]

Definition at line 148 of file TGMenu.h.

Referenced by DrawEntry(), TRootContextMenu::DrawEntry(), TGuiBldPopupMenu::DrawEntry(), and TGPopupMenu().

GContext_t TGPopupMenu::fSelbackGC [protected]

Definition at line 149 of file TGMenu.h.

Referenced by DrawEntry(), and TGPopupMenu().

FontStruct_t TGPopupMenu::fFontStruct [protected]

Definition at line 150 of file TGMenu.h.

Referenced by TRootContextMenu::DrawEntry(), DrawEntry(), TGuiBldPopupMenu::DrawEntry(), and TGPopupMenu().

FontStruct_t TGPopupMenu::fHifontStruct [protected]

Definition at line 151 of file TGMenu.h.

Referenced by AddEntry(), AddLabel(), AddPopup(), DrawEntry(), TGuiBldPopupMenu::DrawEntry(), and TGPopupMenu().

Cursor_t TGPopupMenu::fDefaultCursor [protected]

Definition at line 152 of file TGMenu.h.

Referenced by PlaceMenu(), and TGPopupMenu().

const TGWindow* TGPopupMenu::fMsgWindow [protected]

Definition at line 153 of file TGMenu.h.

Referenced by Activate(), Associate(), TGMenuTitle::DoSendMessage(), HandleButton(), TGMenuBar::PopupConnection(), and TGPopupMenu().

TGMenuBar* TGPopupMenu::fMenuBar [protected]

Definition at line 154 of file TGMenu.h.

Referenced by TGMenuTitle::DoRedraw(), EndMenu(), GetMenuBar(), HandleCrossing(), PlaceMenu(), SetMenuBar(), and TGPopupMenu().

TGSplitButton* TGPopupMenu::fSplitButton [protected]

Definition at line 155 of file TGMenu.h.

Referenced by HandleCrossing(), TGPopupMenu(), and TGSplitButton::TGSplitButton().

UInt_t TGPopupMenu::fEntrySep [protected]

Definition at line 156 of file TGMenu.h.

Referenced by AddEntry(), AddLabel(), AddPopup(), DrawBorder(), DrawEntry(), TGuiBldPopupMenu::DrawEntry(), GetEntrySep(), SetEntrySep(), TGPopupMenu(), and TGuiBldPopupMenu::TGuiBldPopupMenu().

const TGFont * TGPopupMenu::fgDefaultFont [static, protected]

Definition at line 158 of file TGMenu.h.

Referenced by GetDefaultFontStruct().

const TGFont * TGPopupMenu::fgHilightFont [static, protected]

Definition at line 159 of file TGMenu.h.

Referenced by GetHilightFontStruct().

const TGGC * TGPopupMenu::fgDefaultGC [static, protected]

Definition at line 160 of file TGMenu.h.

Referenced by GetDefaultGC().

const TGGC * TGPopupMenu::fgDefaultSelectedGC [static, protected]

Definition at line 161 of file TGMenu.h.

Referenced by GetDefaultSelectedGC().

const TGGC * TGPopupMenu::fgDefaultSelectedBackgroundGC [static, protected]

Definition at line 162 of file TGMenu.h.

Referenced by GetDefaultSelectedBackgroundGC().

TList* TGPopupMenu::fEntryList [protected]

Definition at line 138 of file TGMenu.h.

TGMenuEntry* TGPopupMenu::fCurrent [protected]

Definition at line 139 of file TGMenu.h.

TTimer* TGPopupMenu::fDelay [protected]

Definition at line 146 of file TGMenu.h.

const TGWindow* TGPopupMenu::fMsgWindow [protected]

Definition at line 153 of file TGMenu.h.

TGMenuBar* TGPopupMenu::fMenuBar [protected]

Definition at line 154 of file TGMenu.h.

TGSplitButton* TGPopupMenu::fSplitButton [protected]

Definition at line 155 of file TGMenu.h.

const TGFont* TGPopupMenu::fgDefaultFont [static, protected]

Definition at line 158 of file TGMenu.h.

const TGFont* TGPopupMenu::fgHilightFont [static, protected]

Definition at line 159 of file TGMenu.h.

const TGGC* TGPopupMenu::fgDefaultGC [static, protected]

Definition at line 160 of file TGMenu.h.

const TGGC* TGPopupMenu::fgDefaultSelectedGC [static, protected]

Definition at line 161 of file TGMenu.h.

const TGGC* TGPopupMenu::fgDefaultSelectedBackgroundGC [static, protected]

Definition at line 162 of file TGMenu.h.


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