12 #ifndef ROOT_TDNDManager 13 #define ROOT_TDNDManager 74 fDataType(dt), fAction(act), fData(d), fDataLength(len) {}
139 void SendDNDPosition(
Window_t target,
int x,
int y,
182 static Atom_t GetDNDAware();
183 static Atom_t GetDNDSelection();
184 static Atom_t GetDNDProxy();
185 static Atom_t GetDNDEnter();
186 static Atom_t GetDNDLeave();
187 static Atom_t GetDNDPosition();
188 static Atom_t GetDNDStatus();
189 static Atom_t GetDNDDrop();
190 static Atom_t GetDNDFinished();
191 static Atom_t GetDNDVersion();
192 static Atom_t GetDNDActionCopy();
193 static Atom_t GetDNDActionMove();
194 static Atom_t GetDNDActionLink();
195 static Atom_t GetDNDActionAsk();
196 static Atom_t GetDNDActionPrivate();
197 static Atom_t GetDNDTypeList();
198 static Atom_t GetDNDActionList();
199 static Atom_t GetDNDActionDescrip();
200 static Atom_t GetXCDNDData();
207 #endif // ROOT_TDNDManager 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 GetTarget() 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 TGDimension GetDefaultSize() const
std::cout << fWidth << "x" << fHeight << std::endl;
virtual void MapWindow()
Map TGDragWindow.
virtual Bool_t HandleDNDFinished()
virtual Bool_t HandleTimer(TTimer *)
Execute action in response of a timer timing out.
R__EXTERN TGDNDManager * gDNDManager
#define ClassDef(name, id)
virtual Atom_t HandleDNDPosition(Int_t, Int_t, Atom_t, Int_t, Int_t)
virtual void UnmapWindow()
Unmap TGDragWindow.
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
static Atom_t fgXAWMState
TGFrame * GetMainFrame() const
Handles synchronous and a-synchronous timer events.
Window_t GetInputId() const
Atom_t * GetTypeList() const
static Atom_t fgDNDFinished
virtual Bool_t HandleSelection(Event_t *)
Window_t GetSource() const
virtual Bool_t HandleClientMessage(Event_t *event)
Handle a client message.
Bool_t HasWindow(Window_t w) const
virtual void LowerWindow()
Lower TGDragWindow.
Mother of all ROOT objects.
TGFrame & operator=(const TGFrame &)
Bool_t IsDragging() const
Cursor_t fDNDNoDropCursor
virtual void Layout()
Layout TGDragWindow.
static char * skip(char **buf, const char *delimiters)
TGDragWindow(const TGWindow *p, Pixmap_t pic, Pixmap_t mask, UInt_t options=kChildFrame, Pixel_t back=GetWhitePixel())
TGDragWindow constructor.
int main(int argc, char **argv)
virtual Bool_t HandleDNDLeave()