#ifndef ROOT_TGToolTip
#define ROOT_TGToolTip
#ifndef ROOT_TGFrame
#include "TGFrame.h"
#endif
class TGLabel;
class TTimer;
class TVirtualPad;
class TBox;
class TGToolTip : public TGCompositeFrame {
private:
TGLabel *fLabel;
TGLayoutHints *fL1;
TTimer *fDelay;
const TGFrame *fWindow;
const TVirtualPad *fPad;
const TBox *fBox;
Int_t fX;
Int_t fY;
TGToolTip(const TGToolTip&);
TGToolTip& operator=(const TGToolTip&);
public:
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;
ClassDef(TGToolTip,0)
};
#endif
Last change: Tue Aug 26 17:16:42 2008
Last generated: 2008-08-26 17:16
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.