class TVirtualDragManager

 TVirtualDragManager

 Virtual drag and drop manager used for the GUI builder.

Function Members (Methods)

public:
TVirtualDragManager()
TVirtualDragManager(const TVirtualDragManager&)
virtual~TVirtualDragManager()
virtual Bool_tCancel(Bool_t = kTRUE)
static TClass*Class()
virtual Bool_tDrop()
virtual Bool_tEndDrag()
EDragTypeGetDragType() const
virtual Int_tGetEndDragX() const
virtual Int_tGetEndDragY() const
TGFrame*GetFrameUnder() const
TGFrame*GetPasteFrame() const
TGFrame*GetSource() const
virtual Int_tGetStrartDragX() const
virtual Int_tGetStrartDragY() const
TGFrame*GetTarget() const
virtual Bool_tHandleEvent(Event_t*)
virtual Bool_tIgnoreEvent(Event_t*)
static TVirtualDragManager*Instance()
virtual TClass*IsA() const
Bool_tIsDragging() const
Bool_tIsDropping() const
Bool_tIsMoveWaiting() const
Bool_tIsPasting() const
TVirtualDragManager&operator=(const TVirtualDragManager&)
virtual voidSetEditable(Bool_t)
virtual voidSetPasteFrame(TGFrame* f)
virtual voidSetSource(TGFrame* f)
virtual voidSetTarget(TGFrame* f)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual Bool_tStartDrag(TGFrame* = 0, Int_t = 0, Int_t = 0)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
protected:
virtual voidInit()

Data Members

protected:
EDragTypefDragTypedragging type
Bool_tfDraggingin dragging mode?
Bool_tfDroppingdrop is in progress
TGFrame*fFrameUnderframe under drag
Bool_tfMoveWaitingkTRUE if source is clicked but not moved
TGFrame*fPasteFrame
Bool_tfPastingpaste action is in progress
TGFrame*fSourceframe being dragged
TGFrame*fTargetdrop target

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TVirtualDragManager(const TVirtualDragManager& )
 Constructor.
TVirtualDragManager * Instance()
 Load plugin and create drag manager object.
void Init()
 Initialization.
TVirtualDragManager(const TVirtualDragManager& )
virtual ~TVirtualDragManager()
{}
EDragType GetDragType()
{ return fDragType; }
Bool_t IsMoveWaiting()
{ return fMoveWaiting; }
Bool_t IsDragging()
{ return fDragging; }
Bool_t IsDropping()
{ return fDropping; }
Bool_t IsPasting()
{ return fPasting; }
TGFrame * GetTarget()
{ return fTarget; }
TGFrame * GetSource()
{ return fSource; }
TGFrame * GetFrameUnder()
{ return fFrameUnder; }
TGFrame * GetPasteFrame()
{ return fPasteFrame; }
void SetTarget(TGFrame* f)
{ fTarget = f; }
void SetSource(TGFrame* f)
{ fSource = f; }
void SetPasteFrame(TGFrame* f)
{ fPasteFrame = f; }
Bool_t StartDrag(TGFrame* = 0, Int_t = 0, Int_t = 0)
{ return kFALSE; }
Bool_t EndDrag()
{ return kFALSE; }
Bool_t Drop()
{ return kFALSE; }
Bool_t Cancel(Bool_t = kTRUE)
{ return kFALSE; }
Bool_t HandleEvent(Event_t* )
{ return kFALSE; }
Bool_t IgnoreEvent(Event_t* )
{ return kTRUE; }
void SetEditable(Bool_t )
{}
Int_t GetStrartDragX()
{ return 0; }
Int_t GetStrartDragY()
{ return 0; }
Int_t GetEndDragX()
{ return 0; }
Int_t GetEndDragY()
{ return 0; }

Author: Valeriy Onuchin 12/08/04
Last change: Wed Jun 25 08:54:44 2008
Last generated: 2008-06-25 08:54
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *

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.