Drag and Drop (+ actual file choose widget?) #30
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Milsko should have Drag and Drop support. How it'd probably work is that any widget (including window) can be created with a new
MwNacceptsDnDproperty, which enables it to take a file as a drag and drop. There's maybe discussion to be had about whether it should be on any widgets or just the window widget, because if the former, we could then have a widget for a web-style file choosing interface (currently you make a button that launches a file picker, maybe with a label alongside it for showing the chosen file).There'd need to be a bit of discussion on how to synchornize the backends on certain features. For example - Wayland can let us filter DnD input based on mime types. Can all backends do this, and if so, would we use mime type for all of them?
implemented for win32, just gotta do for wayland.
i personally don't care to do this for X11 after looking at how, somebody else can do it instead.