A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://wxpython.org/Phoenix/docs/html/dnd_overview.html below:

Drag and Drop Overview — wxPython Phoenix 4.2.4a1 documentation

Drag and Drop Overview¶

It may be noted that data transfer to and from the clipboard is quite similar to data transfer with drag and drop and the code to implement these two types is almost the same. In particular, both data transfer mechanisms store data in some kind of wx.DataObject and identify its format(s) using the wx.DataFormat class.

To be a drag source, i.e. to provide the data which may be dragged by the user elsewhere, you should implement the following steps:

To be a drop target, i.e. to receive the data dropped by the user you should follow the instructions below:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4