12#ifndef ROOT_TVirtualDragManager
13#define ROOT_TVirtualDragManager
#define ClassDef(name, id)
R__EXTERN TVirtualDragManager * gDragManager
A subclasses of TGWindow, and is used as base class for some simple widgets (buttons,...
Handles synchronous and a-synchronous timer events.
EDragType fDragType
dragging type
Bool_t IsDropping() const
virtual Bool_t HandleTimerEvent(Event_t *, TTimer *)
virtual void SetTarget(TGFrame *f)
TGFrame * fSource
frame being dragged
virtual void SetPasteFrame(TGFrame *f)
virtual Bool_t IgnoreEvent(Event_t *)
static TVirtualDragManager * Instance()
Load plugin and create drag manager object.
Bool_t fMoveWaiting
kTRUE if source is clicked but not moved
Bool_t fDragging
in dragging mode?
Bool_t fDropping
drop is in progress
TGFrame * fTarget
drop target
TVirtualDragManager()
Constructor.
Bool_t fPasting
paste action is in progress
TGFrame * GetTarget() const
virtual Int_t GetEndDragY() const
Bool_t IsMoveWaiting() const
virtual void Init()
Initialization.
virtual Bool_t HandleEvent(Event_t *)
EDragType GetEDragType() const
virtual ~TVirtualDragManager()
TGFrame * fFrameUnder
frame under drag
virtual void SetEditable(Bool_t)
TGFrame * GetPasteFrame() const
TGFrame * GetSource() const
virtual Int_t GetStrartDragX() const
Bool_t IsDragging() const
virtual Bool_t StartDrag(TGFrame *=nullptr, Int_t=0, Int_t=0)
virtual Int_t GetEndDragX() const
virtual void SetSource(TGFrame *f)
TGFrame * GetFrameUnder() const
virtual Bool_t Cancel(Bool_t=kTRUE)
virtual Int_t GetStrartDragY() const