library: libGui #include "TVirtualDragManager.h"

# TVirtualDragManager

class description - source file - inheritance tree (.pdf)

## class TVirtualDragManager

| Inheritance Chart:

`TVirtualDragManager`

<-

`TGuiBldDragManager` |

        protected:

          virtual void Init()

        public:

                                      TVirtualDragManager()
                                      TVirtualDragManager(const TVirtualDragManager&)
                              virtual ~TVirtualDragManager()
                       virtual Bool_t Cancel(Bool_t = kTRUE)
                       static TClass* Class()
                       virtual Bool_t Drop()
                       virtual Bool_t EndDrag()
                            EDragType GetDragType() const
                        virtual Int_t GetEndDragX() const
                        virtual Int_t GetEndDragY() const
                             TGFrame* GetFrameUnder() const
                             TGFrame* GetPasteFrame() const
                             TGFrame* GetSource() const
                        virtual Int_t GetStrartDragX() const
                        virtual Int_t GetStrartDragY() const
                             TGFrame* GetTarget() const
                       virtual Bool_t HandleEvent(Event_t*)
                       virtual Bool_t IgnoreEvent(Event_t*)
          static TVirtualDragManager* Instance()
                      virtual TClass* IsA() const
                               Bool_t IsDragging() const
                               Bool_t IsDropping() const
                               Bool_t IsMoveWaiting() const
                               Bool_t IsPasting() const
                 TVirtualDragManager& operator=(const TVirtualDragManager&)
                         virtual void SetEditable(Bool_t)
                         virtual void SetPasteFrame(TGFrame* f)
                         virtual void SetSource(TGFrame* f)
                         virtual void SetTarget(TGFrame* f)
                         virtual void ShowMembers(TMemberInspector& insp, char* parent)
                       virtual Bool_t StartDrag(TGFrame* = 0, Int_t = 0, Int_t = 0)
                         virtual void Streamer(TBuffer& b)
                                 void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

             Bool_t fMoveWaiting  kTRUE if source is clicked but not moved
             Bool_t fDragging     in dragging mode?
             Bool_t fDropping     drop is in progress
             Bool_t fPasting      paste action is in progress
          EDragType fDragType     dragging type
           TGFrame* fSource       frame being dragged
           TGFrame* fFrameUnder   frame under drag
           TGFrame* fTarget       drop target
           TGFrame* fPasteFrame

## Class Description

     TVirtualDragManager

TVirtualDragManager()

     ctor

TVirtualDragManager* Instance()

     Load plugin and create drag manager object.

void Init()

### Inline Functions

                            void ~TVirtualDragManager()
                       EDragType GetDragType() const
                          Bool_t IsMoveWaiting() const
                          Bool_t IsDragging() const
                          Bool_t IsDropping() const
                          Bool_t IsPasting() const
                        TGFrame* GetTarget() const
                        TGFrame* GetSource() const
                        TGFrame* GetFrameUnder() const
                        TGFrame* GetPasteFrame() const
                            void SetTarget(TGFrame* f)
                            void SetSource(TGFrame* f)
                            void SetPasteFrame(TGFrame* f)
                          Bool_t StartDrag(TGFrame* = 0, Int_t = 0, Int_t = 0)
                          Bool_t EndDrag()
                          Bool_t Drop()
                          Bool_t Cancel(Bool_t = kTRUE)
                          Bool_t HandleEvent(Event_t*)
                          Bool_t IgnoreEvent(Event_t*)
                            void SetEditable(Bool_t)
                           Int_t GetStrartDragX() const
                           Int_t GetStrartDragY() const
                           Int_t GetEndDragX() const
                           Int_t GetEndDragY() const
                         TClass* Class()
                         TClass* IsA() const
                            void ShowMembers(TMemberInspector& insp, char* parent)
                            void Streamer(TBuffer& b)
                            void StreamerNVirtual(TBuffer& b)
             TVirtualDragManager TVirtualDragManager(const TVirtualDragManager&)
            TVirtualDragManager& operator=(const TVirtualDragManager&)

Author: Valeriy Onuchin 02/08/04
Last update: Wed Jun 8 06:53:01 2005
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *