Logo ROOT  
Reference Guide
TVirtualDragManager Class Reference

Definition at line 22 of file TVirtualDragManager.h.

Public Member Functions

 TVirtualDragManager ()
 Constructor. More...
 
virtual ~TVirtualDragManager ()
 
virtual Bool_t Cancel (Bool_t=kTRUE)
 
virtual Bool_t Drop ()
 
virtual Bool_t EndDrag ()
 
EDragType GetEDragType () const
 
virtual Int_t GetEndDragX () const
 
virtual Int_t GetEndDragY () const
 
TGFrameGetFrameUnder () const
 
TGFrameGetPasteFrame () const
 
TGFrameGetSource () const
 
virtual Int_t GetStrartDragX () const
 
virtual Int_t GetStrartDragY () const
 
TGFrameGetTarget () const
 
virtual Bool_t HandleEvent (Event_t *)
 
virtual Bool_t HandleTimerEvent (Event_t *, TTimer *)
 
virtual Bool_t IgnoreEvent (Event_t *)
 
Bool_t IsDragging () const
 
Bool_t IsDropping () const
 
Bool_t IsMoveWaiting () const
 
Bool_t IsPasting () const
 
virtual void SetEditable (Bool_t)
 
virtual void SetPasteFrame (TGFrame *f)
 
virtual void SetSource (TGFrame *f)
 
virtual void SetTarget (TGFrame *f)
 
virtual Bool_t StartDrag (TGFrame *=nullptr, Int_t=0, Int_t=0)
 

Static Public Member Functions

static TVirtualDragManagerInstance ()
 Load plugin and create drag manager object. More...
 

Protected Member Functions

virtual void Init ()
 Initialization. More...
 

Protected Attributes

Bool_t fDragging
 in dragging mode? More...
 
EDragType fDragType
 dragging type More...
 
Bool_t fDropping
 drop is in progress More...
 
TGFramefFrameUnder
 frame under drag More...
 
Bool_t fMoveWaiting
 kTRUE if source is clicked but not moved More...
 
TGFramefPasteFrame
 
Bool_t fPasting
 paste action is in progress More...
 
TGFramefSource
 frame being dragged More...
 
TGFramefTarget
 drop target More...
 

#include <TVirtualDragManager.h>

Inheritance diagram for TVirtualDragManager:
[legend]

Constructor & Destructor Documentation

◆ TVirtualDragManager()

TVirtualDragManager::TVirtualDragManager ( )

Constructor.

Definition at line 36 of file TVirtualDragManager.cxx.

◆ ~TVirtualDragManager()

virtual TVirtualDragManager::~TVirtualDragManager ( )
inlinevirtual

Definition at line 40 of file TVirtualDragManager.h.

Member Function Documentation

◆ Cancel()

virtual Bool_t TVirtualDragManager::Cancel ( Bool_t  = kTRUE)
inlinevirtual

Reimplemented in TGuiBldDragManager.

Definition at line 59 of file TVirtualDragManager.h.

◆ Drop()

virtual Bool_t TVirtualDragManager::Drop ( )
inlinevirtual

Reimplemented in TGuiBldDragManager.

Definition at line 58 of file TVirtualDragManager.h.

◆ EndDrag()

virtual Bool_t TVirtualDragManager::EndDrag ( )
inlinevirtual

Reimplemented in TGuiBldDragManager.

Definition at line 57 of file TVirtualDragManager.h.

◆ GetEDragType()

EDragType TVirtualDragManager::GetEDragType ( ) const
inline

Definition at line 42 of file TVirtualDragManager.h.

◆ GetEndDragX()

virtual Int_t TVirtualDragManager::GetEndDragX ( ) const
inlinevirtual

Reimplemented in TGuiBldDragManager.

Definition at line 68 of file TVirtualDragManager.h.

◆ GetEndDragY()

virtual Int_t TVirtualDragManager::GetEndDragY ( ) const
inlinevirtual

Reimplemented in TGuiBldDragManager.

Definition at line 69 of file TVirtualDragManager.h.

◆ GetFrameUnder()

TGFrame* TVirtualDragManager::GetFrameUnder ( ) const
inline

Definition at line 49 of file TVirtualDragManager.h.

◆ GetPasteFrame()

TGFrame* TVirtualDragManager::GetPasteFrame ( ) const
inline

Definition at line 50 of file TVirtualDragManager.h.

◆ GetSource()

TGFrame* TVirtualDragManager::GetSource ( ) const
inline

Definition at line 48 of file TVirtualDragManager.h.

◆ GetStrartDragX()

virtual Int_t TVirtualDragManager::GetStrartDragX ( ) const
inlinevirtual

Reimplemented in TGuiBldDragManager.

Definition at line 66 of file TVirtualDragManager.h.

◆ GetStrartDragY()

virtual Int_t TVirtualDragManager::GetStrartDragY ( ) const
inlinevirtual

Reimplemented in TGuiBldDragManager.

Definition at line 67 of file TVirtualDragManager.h.

◆ GetTarget()

TGFrame* TVirtualDragManager::GetTarget ( ) const
inline

Definition at line 47 of file TVirtualDragManager.h.

◆ HandleEvent()

virtual Bool_t TVirtualDragManager::HandleEvent ( Event_t )
inlinevirtual

Reimplemented in TGuiBldDragManager.

Definition at line 61 of file TVirtualDragManager.h.

◆ HandleTimerEvent()

virtual Bool_t TVirtualDragManager::HandleTimerEvent ( Event_t ,
TTimer  
)
inlinevirtual

Reimplemented in TGuiBldDragManager.

Definition at line 62 of file TVirtualDragManager.h.

◆ IgnoreEvent()

virtual Bool_t TVirtualDragManager::IgnoreEvent ( Event_t )
inlinevirtual

Reimplemented in TGuiBldDragManager.

Definition at line 63 of file TVirtualDragManager.h.

◆ Init()

void TVirtualDragManager::Init ( )
protectedvirtual

Initialization.

Definition at line 67 of file TVirtualDragManager.cxx.

◆ Instance()

TVirtualDragManager * TVirtualDragManager::Instance ( )
static

Load plugin and create drag manager object.

Definition at line 44 of file TVirtualDragManager.cxx.

◆ IsDragging()

Bool_t TVirtualDragManager::IsDragging ( ) const
inline

Definition at line 44 of file TVirtualDragManager.h.

◆ IsDropping()

Bool_t TVirtualDragManager::IsDropping ( ) const
inline

Definition at line 45 of file TVirtualDragManager.h.

◆ IsMoveWaiting()

Bool_t TVirtualDragManager::IsMoveWaiting ( ) const
inline

Definition at line 43 of file TVirtualDragManager.h.

◆ IsPasting()

Bool_t TVirtualDragManager::IsPasting ( ) const
inline

Definition at line 46 of file TVirtualDragManager.h.

◆ SetEditable()

virtual void TVirtualDragManager::SetEditable ( Bool_t  )
inlinevirtual

Reimplemented in TGuiBldDragManager.

Definition at line 64 of file TVirtualDragManager.h.

◆ SetPasteFrame()

virtual void TVirtualDragManager::SetPasteFrame ( TGFrame f)
inlinevirtual

Definition at line 54 of file TVirtualDragManager.h.

◆ SetSource()

virtual void TVirtualDragManager::SetSource ( TGFrame f)
inlinevirtual

Definition at line 53 of file TVirtualDragManager.h.

◆ SetTarget()

virtual void TVirtualDragManager::SetTarget ( TGFrame f)
inlinevirtual

Definition at line 52 of file TVirtualDragManager.h.

◆ StartDrag()

virtual Bool_t TVirtualDragManager::StartDrag ( TGFrame = nullptr,
Int_t  = 0,
Int_t  = 0 
)
inlinevirtual

Reimplemented in TGuiBldDragManager.

Definition at line 56 of file TVirtualDragManager.h.

Member Data Documentation

◆ fDragging

Bool_t TVirtualDragManager::fDragging
protected

in dragging mode?

Definition at line 26 of file TVirtualDragManager.h.

◆ fDragType

EDragType TVirtualDragManager::fDragType
protected

dragging type

Definition at line 29 of file TVirtualDragManager.h.

◆ fDropping

Bool_t TVirtualDragManager::fDropping
protected

drop is in progress

Definition at line 27 of file TVirtualDragManager.h.

◆ fFrameUnder

TGFrame* TVirtualDragManager::fFrameUnder
protected

frame under drag

Definition at line 31 of file TVirtualDragManager.h.

◆ fMoveWaiting

Bool_t TVirtualDragManager::fMoveWaiting
protected

kTRUE if source is clicked but not moved

Definition at line 25 of file TVirtualDragManager.h.

◆ fPasteFrame

TGFrame* TVirtualDragManager::fPasteFrame
protected

Definition at line 33 of file TVirtualDragManager.h.

◆ fPasting

Bool_t TVirtualDragManager::fPasting
protected

paste action is in progress

Definition at line 28 of file TVirtualDragManager.h.

◆ fSource

TGFrame* TVirtualDragManager::fSource
protected

frame being dragged

Definition at line 30 of file TVirtualDragManager.h.

◆ fTarget

TGFrame* TVirtualDragManager::fTarget
protected

drop target

Definition at line 32 of file TVirtualDragManager.h.

Libraries for TVirtualDragManager:
[legend]

The documentation for this class was generated from the following files: