Trouble with Dragging and Dropping #8820
-
Hi all I am trying to get drag and drop working, to eventually behave similarly to how a file explorer with a sidebar allows you to drag a file into a folder there, or to how iTunes allows you to drag songs into a playlist. I can get a rectangle dragging around the screen, but I'm having difficulty with coordinating a "drop" as touch events on other touch areas don't seem to fire until after the dragged component is entirely done firing. I also can't seem to find a way to get the component at a specific place in the window, which would at least make it possible to hack a solution out in Rust. Having this kind of drag and drop is a critical feature for the app that I am building, that users will expect to be there. Is there a way to achieve this functionality in Slint as it is right now, that I'm just missing? If not, would it be welcomed if I wrote out a proposal for how I envision this working as part of the Slint API? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
According to the warehouse submission, the drag and drop function is expected to be implemented and opened in slint1.13 version 😀 |
Beta Was this translation helpful? Give feedback.
According to the warehouse submission, the drag and drop function is expected to be implemented and opened in slint1.13 version 😀