I want to add Drag support for containerized applications (like Flatpak and Snap) for Desktop Icons. Another user told me that the trick is to use GdkFileList as GType for creating a GdkContentProvider, but it seems that that type isn’t supported in Javascript. How can I do it?
Hi,
Look at the GNOME audio player, they use a FileList for drop targets: src/drag-overlay.ts · main · GNOME / Decibels · GitLab
Mmm… odd… Gdk.FileList doesn’t seem to exist on https://gjs-docs.gnome.org/