#include <TGToolTip.h>
Inheritance diagram for TGToolTip:
Public Member Functions | |
TGToolTip (const TGWindow *p=0, const TGFrame *f=0, const char *text=0, Long_t delayms=350) | |
TGToolTip (const TGWindow *p, const TBox *b, const char *text, Long_t delayms) | |
TGToolTip (const TBox *b, const char *text, Long_t delayms) | |
TGToolTip (Int_t x, Int_t y, const char *text, Long_t delayms) | |
virtual | ~TGToolTip () |
virtual void | DrawBorder () |
Bool_t | HandleTimer (TTimer *t) |
void | Show (Int_t x, Int_t y) |
void | Hide () |
void | Reset () |
void | Reset (const TVirtualPad *parent) |
void | SetText (const char *new_text) |
void | SetPosition (Int_t x, Int_t y) |
void | SetDelay (Long_t delayms) |
const TGString * | GetText () const |
TGToolTip (const TGWindow *p=0, const TGFrame *f=0, const char *text=0, Long_t delayms=350) | |
TGToolTip (const TGWindow *p, const TBox *b, const char *text, Long_t delayms) | |
TGToolTip (const TBox *b, const char *text, Long_t delayms) | |
TGToolTip (Int_t x, Int_t y, const char *text, Long_t delayms) | |
virtual | ~TGToolTip () |
virtual void | DrawBorder () |
Bool_t | HandleTimer (TTimer *t) |
void | Show (Int_t x, Int_t y) |
void | Hide () |
void | Reset () |
void | Reset (const TVirtualPad *parent) |
void | SetText (const char *new_text) |
void | SetPosition (Int_t x, Int_t y) |
void | SetDelay (Long_t delayms) |
const TGString * | GetText () const |
Private Member Functions | |
TGToolTip (const TGToolTip &) | |
TGToolTip & | operator= (const TGToolTip &) |
TGToolTip (const TGToolTip &) | |
TGToolTip & | operator= (const TGToolTip &) |
Private Attributes | |
TGLabel * | fLabel |
TGLayoutHints * | fL1 |
TTimer * | fDelay |
const TGFrame * | fWindow |
const TVirtualPad * | fPad |
const TBox * | fBox |
Int_t | fX |
Int_t | fY |
TGLabel * | fLabel |
TGLayoutHints * | fL1 |
TTimer * | fDelay |
const TGFrame * | fWindow |
const TVirtualPad * | fPad |
const TBox * | fBox |
Definition at line 37 of file TGToolTip.h.
TGToolTip::TGToolTip | ( | const TGToolTip & | ) | [private] |
TGToolTip::TGToolTip | ( | const TGWindow * | p = 0 , |
|
const TGFrame * | f = 0 , |
|||
const char * | text = 0 , |
|||
Long_t | delayms = 350 | |||
) |
Definition at line 71 of file TGToolTip.cxx.
References TGCompositeFrame::AddFrame(), fBox, TGObject::fClient, fDelay, TGObject::fId, fL1, fLabel, SetWindowAttributes_t::fMask, SetWindowAttributes_t::fOverrideRedirect, fPad, SetWindowAttributes_t::fSaveUnder, fWindow, fX, fY, TGCompositeFrame::GetDefaultSize(), TGClient::GetResourcePool(), TGResourcePool::GetTipBgndColor(), gVirtualX, kLHintsLeft, kLHintsTop, kTRUE, kWAOverrideRedirect, kWASaveUnder, TGCompositeFrame::MapSubwindows(), TGFrame::Resize(), and TGFrame::SetBackgroundColor().
Definition at line 104 of file TGToolTip.cxx.
References TGCompositeFrame::AddFrame(), box(), fBox, TGObject::fClient, fDelay, TGObject::fId, fL1, fLabel, SetWindowAttributes_t::fMask, SetWindowAttributes_t::fOverrideRedirect, fPad, SetWindowAttributes_t::fSaveUnder, fWindow, TGCompositeFrame::GetDefaultSize(), TGClient::GetResourcePool(), TGResourcePool::GetTipBgndColor(), gVirtualX, kLHintsLeft, kLHintsTop, kTRUE, kWAOverrideRedirect, kWASaveUnder, TGCompositeFrame::MapSubwindows(), TGFrame::Resize(), and TGFrame::SetBackgroundColor().
Definition at line 137 of file TGToolTip.cxx.
References TGCompositeFrame::AddFrame(), box(), fBox, TGObject::fClient, fDelay, TGObject::fId, fL1, fLabel, SetWindowAttributes_t::fMask, SetWindowAttributes_t::fOverrideRedirect, fPad, SetWindowAttributes_t::fSaveUnder, fWindow, TGCompositeFrame::GetDefaultSize(), TGClient::GetResourcePool(), TGResourcePool::GetTipBgndColor(), gVirtualX, kLHintsLeft, kLHintsTop, kTRUE, kWAOverrideRedirect, kWASaveUnder, TGCompositeFrame::MapSubwindows(), TGFrame::Resize(), and TGFrame::SetBackgroundColor().
Definition at line 169 of file TGToolTip.cxx.
References TGCompositeFrame::AddFrame(), fBox, TGObject::fClient, fDelay, TGObject::fId, fL1, fLabel, SetWindowAttributes_t::fMask, SetWindowAttributes_t::fOverrideRedirect, fPad, SetWindowAttributes_t::fSaveUnder, fWindow, fX, fY, TGCompositeFrame::GetDefaultSize(), TGClient::GetResourcePool(), TGResourcePool::GetTipBgndColor(), gVirtualX, kLHintsLeft, kLHintsTop, kTRUE, kWAOverrideRedirect, kWASaveUnder, TGCompositeFrame::MapSubwindows(), TGFrame::Resize(), and TGFrame::SetBackgroundColor().
TGToolTip::~TGToolTip | ( | ) | [virtual] |
TGToolTip::TGToolTip | ( | const TGToolTip & | ) | [private] |
TGToolTip::TGToolTip | ( | const TGWindow * | p = 0 , |
|
const TGFrame * | f = 0 , |
|||
const char * | text = 0 , |
|||
Long_t | delayms = 350 | |||
) |
virtual TGToolTip::~TGToolTip | ( | ) | [virtual] |
void TGToolTip::DrawBorder | ( | ) | [virtual] |
Reimplemented from TGFrame.
Definition at line 211 of file TGToolTip.cxx.
References TGFrame::fHeight, TGObject::fId, TGFrame::fWidth, TGFrame::GetBlackGC(), TGFrame::GetShadowGC(), and gVirtualX.
Reimplemented from TGWindow.
Definition at line 277 of file TGToolTip.cxx.
References TGRectangle::Contains(), fBox, TGObject::fClient, fDelay, TGFrame::fHeight, fLabel, fPad, TGFrame::fWidth, fWindow, fX, fY, TVirtualPad::GetCanvasID(), TGCompositeFrame::GetDefaultSize(), TGClient::GetDisplayHeight(), TGClient::GetDisplayWidth(), TGFrame::GetHeight(), TGObject::GetId(), TGWindow::GetParent(), TGFrame::GetWidth(), TVirtualPad::GetX1(), TVirtualPad::GetX2(), TVirtualPad::GetY1(), TVirtualPad::GetY2(), gVirtualX, kTRUE, mask, TTimer::Remove(), TGFrame::Resize(), TGLabel::SetWrapLength(), Show(), x, TVirtualPad::XtoAbsPixel(), y, and TVirtualPad::YtoAbsPixel().
Definition at line 222 of file TGToolTip.cxx.
References TQObject::Emit(), TGFrame::MapWindow(), TGFrame::Move(), and TGWindow::RaiseWindow().
Referenced by HandleTimer().
void TGToolTip::Hide | ( | ) |
Definition at line 238 of file TGToolTip.cxx.
References TQObject::Emit(), fDelay, TTimer::Remove(), and TGFrame::UnmapWindow().
Referenced by TRootCanvas::EventInfo(), EventInfo(), TMemStatShow::EventInfo1(), TMemStatShow::EventInfo2(), TStructViewerGUI::GLWidgetProcessedEventSlot(), TGTextEntry::HandleButton(), TGListTree::HandleButton(), TGRadioButton::HandleButton(), TGImageMap::HandleButton(), TGButton::HandleButton(), TEveGedNameTextButton::HandleButton(), TGedNameFrame::HandleButton(), TGCheckButton::HandleButton(), TGRepeatFireButton::HandleButton(), TRootCanvas::HandleContainerButton(), TGedPatternFrame::HandleCrossing(), TGuiBldToolButton::HandleCrossing(), TGedNameFrame::HandleCrossing(), TGToolButton::HandleCrossing(), TGTextEntry::HandleCrossing(), TGCheckButton::HandleCrossing(), TTVLVEntry::HandleCrossing(), TGRadioButton::HandleCrossing(), TGButton::HandleCrossing(), TGImageMap::HandleDoubleClick(), TGListTree::HandleKey(), TGSplitButton::HandleKey(), TGTextEntry::HandleKey(), TGLEventHandler::HandleKey(), TGTextButton::HandleKey(), TGCheckButton::HandleKey(), TGRadioButton::HandleKey(), TGSplitButton::HandleSCrossing(), TGSplitButton::HandleSKey(), TStructViewerGUI::MouseOverSlot(), TGImageMap::OnMouseOut(), TGImageMap::OnMouseOver(), TRootCanvas::ReallyDelete(), TGLEventHandler::RemoveTooltip(), and TGLEventHandler::TGLEventHandler().
void TGToolTip::Reset | ( | ) |
Definition at line 251 of file TGToolTip.cxx.
References TSystem::AddTimer(), TQObject::Emit(), fDelay, gSystem, and TTimer::Reset().
Referenced by TRootCanvas::EventInfo(), EventInfo(), TMemStatShow::EventInfo1(), TMemStatShow::EventInfo2(), TGedPatternFrame::HandleCrossing(), TGuiBldToolButton::HandleCrossing(), TGedNameFrame::HandleCrossing(), TGToolButton::HandleCrossing(), TGCheckButton::HandleCrossing(), TTVLVEntry::HandleCrossing(), TGRadioButton::HandleCrossing(), TGButton::HandleCrossing(), TGSplitButton::HandleSCrossing(), TStructViewerGUI::MouseOverSlot(), TGImageMap::OnMouseOut(), TGImageMap::OnMouseOver(), TGListTree::SetToolTipText(), and TGLEventHandler::TriggerTooltip().
void TGToolTip::Reset | ( | const TVirtualPad * | parent | ) |
Definition at line 263 of file TGToolTip.cxx.
References TSystem::AddTimer(), fDelay, fPad, gSystem, and TTimer::Reset().
void TGToolTip::SetText | ( | const char * | new_text | ) |
Definition at line 379 of file TGToolTip.cxx.
References fLabel, TGCompositeFrame::GetDefaultSize(), TGFrame::Resize(), and TGLabel::SetText().
Referenced by TRootCanvas::EventInfo(), EventInfo(), TMemStatShow::EventInfo1(), TMemStatShow::EventInfo2(), TStructViewerGUI::MouseOverSlot(), TGedNameFrame::SetModel(), TGListTree::SetToolTipText(), and TGLEventHandler::TriggerTooltip().
Definition at line 396 of file TGToolTip.cxx.
References fWindow, fX, fY, TGFrame::GetHeight(), and TGFrame::GetWidth().
Referenced by TRootCanvas::EventInfo(), EventInfo(), TMemStatShow::EventInfo1(), TMemStatShow::EventInfo2(), TStructViewerGUI::MouseOverSlot(), TGListTree::SetToolTipText(), and TGLEventHandler::TriggerTooltip().
void TGToolTip::SetDelay | ( | Long_t | delayms | ) |
Definition at line 388 of file TGToolTip.cxx.
References fDelay, and TTimer::SetTime().
Referenced by TGLEventHandler::SetMouseOverTooltipDelay(), and TRootGuiBuilder::TRootGuiBuilder().
const TGString * TGToolTip::GetText | ( | ) | const |
Definition at line 419 of file TGToolTip.cxx.
References fLabel, and TGLabel::GetText().
Referenced by TGTextEntry::SavePrimitive(), TGNumberEntry::SavePrimitive(), TGNumberEntryField::SavePrimitive(), TGButton::SavePrimitive(), and TGToolBar::SavePrimitive().
virtual void TGToolTip::DrawBorder | ( | ) | [virtual] |
Reimplemented from TGFrame.
void TGToolTip::Hide | ( | ) |
void TGToolTip::Reset | ( | ) |
void TGToolTip::Reset | ( | const TVirtualPad * | parent | ) |
void TGToolTip::SetText | ( | const char * | new_text | ) |
void TGToolTip::SetDelay | ( | Long_t | delayms | ) |
const TGString* TGToolTip::GetText | ( | ) | const |
TGLabel* TGToolTip::fLabel [private] |
Definition at line 40 of file TGToolTip.h.
Referenced by GetText(), HandleTimer(), SetText(), TGToolTip(), and ~TGToolTip().
TGLayoutHints* TGToolTip::fL1 [private] |
TTimer* TGToolTip::fDelay [private] |
Definition at line 42 of file TGToolTip.h.
Referenced by HandleTimer(), Hide(), Reset(), SetDelay(), TGToolTip(), and ~TGToolTip().
const TGFrame* TGToolTip::fWindow [private] |
Definition at line 43 of file TGToolTip.h.
Referenced by HandleTimer(), SetPosition(), and TGToolTip().
const TVirtualPad* TGToolTip::fPad [private] |
const TBox* TGToolTip::fBox [private] |
Int_t TGToolTip::fX [private] |
Reimplemented from TGFrame.
Definition at line 46 of file TGToolTip.h.
Referenced by HandleTimer(), SetPosition(), and TGToolTip().
Int_t TGToolTip::fY [private] |
Reimplemented from TGFrame.
Definition at line 47 of file TGToolTip.h.
Referenced by HandleTimer(), SetPosition(), and TGToolTip().
TGLabel* TGToolTip::fLabel [private] |
Definition at line 40 of file TGToolTip.h.
TGLayoutHints* TGToolTip::fL1 [private] |
Definition at line 41 of file TGToolTip.h.
TTimer* TGToolTip::fDelay [private] |
Definition at line 42 of file TGToolTip.h.
const TGFrame* TGToolTip::fWindow [private] |
Definition at line 43 of file TGToolTip.h.
const TVirtualPad* TGToolTip::fPad [private] |
Definition at line 44 of file TGToolTip.h.
const TBox* TGToolTip::fBox [private] |
Definition at line 45 of file TGToolTip.h.