library: libGui
#include "TVirtualDragManager.h"

TVirtualDragManager


class description - header file - source file
viewCVS header - viewCVS source

class TVirtualDragManager

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
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:
Bool_tfMoveWaitingkTRUE if source is clicked but not moved
Bool_tfDraggingin dragging mode?
Bool_tfDroppingdrop is in progress
Bool_tfPastingpaste action is in progress
EDragTypefDragTypedragging type
TGFrame*fSourceframe being dragged
TGFrame*fFrameUnderframe under drag
TGFrame*fTargetdrop target
TGFrame*fPasteFrame

Class Description

                                                                      
 TVirtualDragManager                                                  
                                                                      

TVirtualDragManager()
 Constructor.
TVirtualDragManager * Instance()
 Load plugin and create drag manager object.
void Init()
 Initialization.
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 02/08/04
Last update: Tue Nov 21 09:40:26 2006
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - 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.