12 #ifndef ROOT_TDNDManager 13 #define ROOT_TDNDManager 72 fDataType(dt), fAction(act), fData(
d), fDataLength(len) {}
137 void SendDNDPosition(
Window_t target,
int x,
int y,
180 static Atom_t GetDNDAware();
181 static Atom_t GetDNDSelection();
182 static Atom_t GetDNDProxy();
183 static Atom_t GetDNDEnter();
184 static Atom_t GetDNDLeave();
185 static Atom_t GetDNDPosition();
186 static Atom_t GetDNDStatus();
187 static Atom_t GetDNDDrop();
188 static Atom_t GetDNDFinished();
189 static Atom_t GetDNDVersion();
190 static Atom_t GetDNDActionCopy();
191 static Atom_t GetDNDActionMove();
192 static Atom_t GetDNDActionLink();
193 static Atom_t GetDNDActionAsk();
194 static Atom_t GetDNDActionPrivate();
195 static Atom_t GetDNDTypeList();
196 static Atom_t GetDNDActionList();
197 static Atom_t GetDNDActionDescrip();
198 static Atom_t GetXCDNDData();
205 #endif // ROOT_TDNDManager Bool_t HasWindow(Window_t w) const
virtual void RaiseWindow()
Raise TGDragWindow.
static Atom_t fgDNDActionMove
static Atom_t fgXCDNDData
static Atom_t fgDNDVersion
virtual Bool_t HandleDNDDrop(TDNDData *)
static Pixel_t GetWhitePixel()
Get white pixel value.
Window_t GetSource() const
virtual void MapRaised()
Map and Raise TGDragWindow.
void SetMainFrame(TGFrame *main)
static Atom_t fgDNDActionPrivate
static Atom_t fgDNDStatus
static Cursor_t fgDefaultCursor
virtual void MapWindow()
Map TGDragWindow.
Bool_t IsDragging() const
virtual Bool_t HandleDNDFinished()
virtual Bool_t HandleTimer(TTimer *)
Execute action in response of a timer timing out.
R__EXTERN TGDNDManager * gDNDManager
virtual TGDimension GetDefaultSize() const
std::cout << fWidth << "x" << fHeight << std::endl;
#define ClassDef(name, id)
virtual Atom_t HandleDNDPosition(Int_t, Int_t, Atom_t, Int_t, Int_t)
virtual void UnmapWindow()
Unmap TGDragWindow.
int main(int argc, char **argv)
TDNDData(Atom_t dt=kNone, void *d=0, Int_t len=0, Atom_t act=kNone)
virtual Bool_t HandleSelectionRequest(Event_t *)
virtual void DoRedraw()
Redraw TGDragWindow.
virtual ~TGDragWindow()
TGDragWindow destructor.
virtual Atom_t HandleDNDEnter(Atom_t *)
static Atom_t fgDNDSelection
static Atom_t fgDNDTypeList
Window_t GetTarget() const
static Atom_t fgXAWMState
Handles synchronous and a-synchronous timer events.
static Atom_t fgDNDFinished
virtual Bool_t HandleSelection(Event_t *)
virtual Bool_t HandleClientMessage(Event_t *event)
Handle a client message.
Window_t GetInputId() const
virtual void LowerWindow()
Lower TGDragWindow.
Mother of all ROOT objects.
TGFrame & operator=(const TGFrame &)
TGFrame * GetMainFrame() const
Cursor_t fDNDNoDropCursor
virtual void Layout()
Layout TGDragWindow.
Atom_t * GetTypeList() const
TGDragWindow(const TGWindow *p, Pixmap_t pic, Pixmap_t mask, UInt_t options=kChildFrame, Pixel_t back=GetWhitePixel())
TGDragWindow constructor.
virtual Bool_t HandleDNDLeave()