12 #ifndef ROOT_TGImageMap 13 #define ROOT_TGImageMap 105 void SetToolTipText(
const char *
text,
Long_t delayms,
148 void SetToolTipText(
const char *
text,
Long_t delayms = 300);
149 void SetToolTipText(
Int_t id,
const char *text,
Long_t delayms = 300);
153 virtual void RegionClicked(
Int_t id);
154 virtual void DoubleClicked(
Int_t id);
155 virtual void DoubleClicked();
156 virtual void OnMouseOver(
Int_t id);
157 virtual void OnMouseOut(
Int_t id);
TGRegion CopyRegion() const
Copy a region.
void SetCursor(ECursor cursor=kHand)
TGRegion & operator-=(const TGRegion &r)
TGRegion Eor(const TGRegion &r) const
Returns a region which is the difference between the union and intersection this region and r...
TGRegion Subtract(const TGRegion &r) const
Returns a region which is r subtracted from this region.
TGRegion operator|(const TGRegion &r) const
virtual ~TGRegion()
Delete a region.
TGRegion & operator^=(const TGRegion &r)
R__EXTERN TGRegionWithId * gCurrentRegion
#define ClassDef(name, id)
void SetPopup(TGPopupMenu *popup)
TGRegion operator &(const TGRegion &r) const
TGRegion()
Create a region object.
TGRegion & operator &=(const TGRegion &r)
TGPopupMenu * GetPopup() const
TGRegion Unite(const TGRegion &r) const
Return the union of this region with r.
TGRegion operator^(const TGRegion &r) const
Bool_t Contains(const TPoint &p) const
Return true if point p is contained in the region.
TGRegion & operator=(const TGRegion &r)
Region assignment operator.
TGRegion & operator|=(const TGRegion &r)
TGPosition GetPosition() const
Return position of region (x, y).
TGRegion & operator+=(const TGRegion &r)
void SetPicture(const TGPicture *)
Change a picture in a picture button.
Array of shorts (16 bits per element).
Bool_t IsNull() const
Return true if region is not set.
TGRegion operator+(const TGRegion &r) const
Bool_t operator==(const TGRegion &r) const
Region == operator.
Bool_t operator!=(const TGRegion &r) const
TGDimension GetDimension() const
Return dimension of region (widht, height).
Bool_t IsEmpty() const
Return true if region is empty.
Mother of all ROOT objects.
TGRegion Intersect(const TGRegion &r) const
Returns a region which is the intersection of this region and r.
TGRegion operator-(const TGRegion &r) const
TGToolTip * GetToolTipText() const