#include <TGMenu.h>
Inheritance diagram for TGMenuTitle:
Definition at line 256 of file TGMenu.h.
TGMenuTitle::TGMenuTitle | ( | const TGMenuTitle & | ) | [private] |
TGMenuTitle::TGMenuTitle | ( | const TGWindow * | p = 0 , |
|
TGHotString * | s = 0 , |
|||
TGPopupMenu * | menu = 0 , |
|||
GContext_t | norm = GetDefaultGC()() , |
|||
FontStruct_t | font = GetDefaultFontStruct() , |
|||
UInt_t | options = 0 | |||
) |
Definition at line 1969 of file TGMenu.cxx.
References xmlio::Class, fFontStruct, fHkeycode, fLabel, fMenu, fNormGC, fSelGC, fState, fTextColor, fTitleId, GetDefaultSelectedGC(), TGFrame::GetForeground(), TGString::GetLength(), TGString::GetString(), gVirtualX, kFALSE, p, TGFrame::Resize(), s, and TGPopupMenu::SetMenuBar().
virtual TGMenuTitle::~TGMenuTitle | ( | ) | [inline, virtual] |
TGMenuTitle::TGMenuTitle | ( | const TGMenuTitle & | ) | [private] |
TGMenuTitle::TGMenuTitle | ( | const TGWindow * | p = 0 , |
|
TGHotString * | s = 0 , |
|||
TGPopupMenu * | menu = 0 , |
|||
GContext_t | norm = GetDefaultGC()() , |
|||
FontStruct_t | font = GetDefaultFontStruct() , |
|||
UInt_t | options = 0 | |||
) |
virtual TGMenuTitle::~TGMenuTitle | ( | ) | [inline, virtual] |
void TGMenuTitle::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGFrame.
Definition at line 2032 of file TGMenu.cxx.
References TGFrame::DoRedraw(), TGHotString::Draw(), fFontStruct, TGFrame::fHeight, TGObject::fId, fLabel, fMenu, TGPopupMenu::fMenuBar, fNormGC, fSelGC, fState, fTextColor, TGFrame::fWidth, TGFrame::GetBackground(), TGFrame::GetDefaultFrameBackground(), TGFrame::GetDefaultSelectedBackground(), TGFrame::GetForeground(), gVirtualX, x, and y.
TGMenuTitle& TGMenuTitle::operator= | ( | const TGMenuTitle & | ) | [private] |
FontStruct_t TGMenuTitle::GetDefaultFontStruct | ( | ) | [static] |
Definition at line 2076 of file TGMenu.cxx.
References fgDefaultFont, gClient, TGFont::GetFontStruct(), TGResourcePool::GetMenuFont(), and TGClient::GetResourcePool().
Referenced by G__G__Gui1_249_0_4(), and G__setup_memfuncTGMenuTitle().
const TGGC & TGMenuTitle::GetDefaultSelectedGC | ( | ) | [static] |
Definition at line 2096 of file TGMenu.cxx.
References fgDefaultSelectedGC, gClient, TGClient::GetResourcePool(), and TGResourcePool::GetSelectedGC().
Referenced by G__G__Gui1_249_0_5(), G__setup_memfuncTGMenuTitle(), and TGMenuTitle().
const TGGC & TGMenuTitle::GetDefaultGC | ( | ) | [static] |
Definition at line 2086 of file TGMenu.cxx.
References fgDefaultGC, gClient, TGResourcePool::GetFrameGC(), and TGClient::GetResourcePool().
Referenced by G__G__Gui1_249_0_6(), and G__setup_memfuncTGMenuTitle().
Pixel_t TGMenuTitle::GetTextColor | ( | ) | const [inline] |
void TGMenuTitle::SetTextColor | ( | Pixel_t | col | ) | [inline] |
void TGMenuTitle::SetState | ( | Bool_t | state | ) | [virtual] |
Definition at line 2006 of file TGMenu.cxx.
References TGPopupMenu::EndMenu(), TGObject::fClient, TGFrame::fHeight, TGObject::fId, fMenu, TGFrame::fOptions, fState, fTitleData, fTitleId, TGObject::GetId(), TGWindow::GetParent(), gVirtualX, kFALSE, kRaisedFrame, kSunkenFrame, kTRUE, TGClient::NeedRedraw(), and TGPopupMenu::PlaceMenu().
Referenced by TGMenuBar::HandleKey().
Bool_t TGMenuTitle::GetState | ( | ) | const [inline] |
Int_t TGMenuTitle::GetHotKeyCode | ( | ) | const [inline] |
TGPopupMenu* TGMenuTitle::GetMenu | ( | ) | const [inline] |
Definition at line 295 of file TGMenu.h.
References fMenu.
Referenced by TGMenuBar::BindKeys(), TGMenuBar::GetLastOnLeft(), TGMenuBar::HandleKey(), and TGMenuBar::Layout().
const char* TGMenuTitle::GetName | ( | ) | const [inline, virtual] |
Reimplemented from TGWindow.
Definition at line 296 of file TGMenu.h.
References fLabel, and TGString::GetString().
Referenced by TGMenuBar::Layout().
void TGMenuTitle::DoSendMessage | ( | ) | [virtual] |
Definition at line 2063 of file TGMenu.cxx.
References TGPopupMenu::Activated(), fMenu, TGPopupMenu::fMsgWindow, fTitleData, fTitleId, kC_COMMAND, kCM_MENU, MK_MSG(), and TGFrame::SendMessage().
void TGMenuTitle::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGFrame.
Definition at line 2242 of file TGMenu.cxx.
References fLabel, fMenu, TGWindow::fParent, TGHotString::GetHotPos(), TGString::GetLength(), TGWindow::GetName(), TGString::GetString(), i, TGPopupMenu::SavePrimitive(), and text().
virtual void TGMenuTitle::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGFrame.
TGMenuTitle& TGMenuTitle::operator= | ( | const TGMenuTitle & | ) | [private] |
static FontStruct_t TGMenuTitle::GetDefaultFontStruct | ( | ) | [static] |
static const TGGC& TGMenuTitle::GetDefaultSelectedGC | ( | ) | [static] |
static const TGGC& TGMenuTitle::GetDefaultGC | ( | ) | [static] |
Pixel_t TGMenuTitle::GetTextColor | ( | ) | const [inline] |
void TGMenuTitle::SetTextColor | ( | Pixel_t | col | ) | [inline] |
virtual void TGMenuTitle::SetState | ( | Bool_t | state | ) | [virtual] |
Bool_t TGMenuTitle::GetState | ( | ) | const [inline] |
Int_t TGMenuTitle::GetHotKeyCode | ( | ) | const [inline] |
TGPopupMenu* TGMenuTitle::GetMenu | ( | ) | const [inline] |
const char* TGMenuTitle::GetName | ( | ) | const [inline, virtual] |
Reimplemented from TGWindow.
Definition at line 296 of file TGMenu.h.
References fLabel, and TGString::GetString().
virtual void TGMenuTitle::DoSendMessage | ( | ) | [virtual] |
virtual void TGMenuTitle::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGFrame.
TGPopupMenu* TGMenuTitle::fMenu [protected] |
Definition at line 259 of file TGMenu.h.
Referenced by DoRedraw(), DoSendMessage(), GetMenu(), SavePrimitive(), SetState(), and TGMenuTitle().
TGHotString* TGMenuTitle::fLabel [protected] |
Definition at line 260 of file TGMenu.h.
Referenced by DoRedraw(), TGuiBldMenuTitle::DoRedraw(), GetName(), SavePrimitive(), TGMenuTitle(), and ~TGMenuTitle().
Int_t TGMenuTitle::fTitleId [protected] |
Definition at line 261 of file TGMenu.h.
Referenced by DoSendMessage(), SetState(), and TGMenuTitle().
void* TGMenuTitle::fTitleData [protected] |
Bool_t TGMenuTitle::fState [protected] |
Definition at line 263 of file TGMenu.h.
Referenced by DoRedraw(), TGuiBldMenuTitle::DoRedraw(), GetState(), SetState(), and TGMenuTitle().
Int_t TGMenuTitle::fHkeycode [protected] |
FontStruct_t TGMenuTitle::fFontStruct [protected] |
Definition at line 265 of file TGMenu.h.
Referenced by DoRedraw(), TGuiBldMenuTitle::DoRedraw(), and TGMenuTitle().
Pixel_t TGMenuTitle::fTextColor [protected] |
Definition at line 266 of file TGMenu.h.
Referenced by DoRedraw(), GetTextColor(), SetTextColor(), and TGMenuTitle().
GContext_t TGMenuTitle::fNormGC [protected] |
Definition at line 267 of file TGMenu.h.
Referenced by DoRedraw(), TGuiBldMenuTitle::DoRedraw(), and TGMenuTitle().
GContext_t TGMenuTitle::fSelGC [protected] |
Definition at line 267 of file TGMenu.h.
Referenced by DoRedraw(), TGuiBldMenuTitle::DoRedraw(), and TGMenuTitle().
const TGFont * TGMenuTitle::fgDefaultFont [static, protected] |
const TGGC * TGMenuTitle::fgDefaultSelectedGC [static, protected] |
const TGGC * TGMenuTitle::fgDefaultGC [static, protected] |
TGPopupMenu* TGMenuTitle::fMenu [protected] |
TGHotString* TGMenuTitle::fLabel [protected] |
void* TGMenuTitle::fTitleData [protected] |
const TGFont* TGMenuTitle::fgDefaultFont [static, protected] |
const TGGC* TGMenuTitle::fgDefaultSelectedGC [static, protected] |
const TGGC* TGMenuTitle::fgDefaultGC [static, protected] |