i am trying to read the data from a drag and drop event on a tag but the "data" seem to contain a thing called a "capsule object" that i don't know how to crack in to
also from the looks of it the "msg" should contain the "INPUT_QUALIFIER" to limit the main function to only run when the "drop" part of the drag happens but i cant seem to work that out ether
any one have any experience in this stuff?
Thank you for reaching out to us. It is always best to be as precise as possible with questions. I assume you are talking about MSG_DRAGANDDROP and its data input argument being of type PyCapsule? A PyCapsule is a wrapper type for arguments from the C/C++ backend of Python. Such value is effectively meaningless in Python and mostly intended to be passed through. You cannot 'crack into' it.
It would be best if you would describe:
Otherwise, it will be extremely hard for us to give you a precise answer.