Ask Your Question
1

What is the format for the event.data in TkinterDnd.Tk()?

asked 2022-07-12 11:00:00 +0000

david gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2023-02-26 12:00:00 +0000

lalupa gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-07-12 11:00:00 +0000

Seen: 10 times

Last updated: Feb 26 '23