TGRegionWithId


class description - source file - inheritance tree

class TGRegionWithId : public TGRegion


    protected:
public:
TGRegionWithId TGRegionWithId() TGRegionWithId TGRegionWithId(Int_t id, Int_t x, Int_t y, UInt_t w, UInt_t h, TGRegion::ERegionType = kRectangle) TGRegionWithId TGRegionWithId(Int_t id, Int_t n, TPoint* points, Bool_t winding = kFALSE) TGRegionWithId TGRegionWithId(const TGRegionWithId& reg) TGRegionWithId TGRegionWithId(const TGRegion& reg, Int_t id) virtual void ~TGRegionWithId() static TClass* Class() void DisplayPopup() Int_t GetId() const TGPopupMenu* GetPopup() const TGToolTip* GetToolTipText() const virtual TClass* IsA() const void SetPopup(TGPopupMenu* popup) void SetToolTipText(const char* text, Long_t delayms, const TGFrame* frame) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

protected:
Int_t fId region id TGToolTip* fTip tooltip TGPopupMenu* fPopup popup menu public:

Class Description

                                                                      
 TGImageMap (with TGRegion and TGRegionWithId help classes)           
                                                                      
 A TGImageMap provides the functionality like a clickable image in    
 a web browser with sensitive regions (MAP HTML tag).                 
                                                                      


TGRegionWithId() : TGRegion()
 Create GUI region (with id and possible tooltip).

TGRegionWithId(Int_t id, Int_t x, Int_t y, UInt_t w, UInt_t h, ERegionType type) : TGRegion(x, y, w, h, type)
 Create GUI region (with id and possible tooltip).

TGRegionWithId(Int_t id, Int_t n, TPoint *points, Bool_t winding) : TGRegion(n, points, winding)
 Create GUI region (with id and possible tooltip).

TGRegionWithId(const TGRegionWithId &reg) : TGRegion(reg)
 Copy constructor.

TGRegionWithId(const TGRegion &reg, Int_t id) : TGRegion(reg)
 Copy ctor which allows setting of new id.

~TGRegionWithId()
 Cleanup.

void DisplayPopup()
 Display popup menu associated with this region.

void SetToolTipText(const char *text, Long_t delayms, const TGFrame *frame)
 Set tool tip text associated with this region. The delay is in
 milliseconds (minimum 250). To remove tool tip call method with
 text = 0.



Inline Functions


               Int_t GetId() const
          TGToolTip* GetToolTipText() const
        TGPopupMenu* GetPopup() const
                void SetPopup(TGPopupMenu* popup)
             TClass* Class()
             TClass* IsA() const
                void ShowMembers(TMemberInspector& insp, char* parent)
                void Streamer(TBuffer& b)
                void StreamerNVirtual(TBuffer& b)


Author: Valeriy Onuchin & Fons Rademakers 18/10/2000
Last update: root/gui:$Name: $:$Id: TGImageMap.cxx,v 1.2 2000/12/22 12:36:00 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Top of the page

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.