Hi, is it possible to drag items from the compose ...
# compose
t
Hi, is it possible to drag items from the compose app to another app or desktop? For example dragging an image from the compose app to the desktop where it would be saved as a file? From what I can find dragging into compose desktop is supported, but no detail on dragging from compose desktop to outside of it (link for dragging into https://github.com/JetBrains/compose-multiplatform/issues/222 ) I thought it might be by using swing but can’t find any examples Thanks!
z
It should be possible, compose desktop is based on swing and has interop. So theoretically it should be possible. See https://docs.oracle.com/javase/8/docs/technotes/guides/swing/1.4/dnd.html I don't have any examples right now
t
Thanks! That’s very helpful and works from a very basic test. Will have too see how feasible it is to integrate to a much larger app.