Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The event.data format in TkinterDnd.Tk() depends on the type of drag-and-drop operation being performed.

For a drag operation, the event.data contains a list of MIME types to indicate the formats of the data being dragged. For example, if an image is being dragged, the event.data might contain "image/gif" or "image/jpeg".

For a drop operation, the event.data contains the actual data being dropped. The format of the data will depend on the MIME types specified in the drag operation.

Overall, the format of the event.data will vary depending on the specific drag-and-drop scenario and the data being transferred.