2

If I create a Windows/Linux desktop application using Kotlin Compose Desktop, can I drag a file (i.e., the file path) from my application into another application? I could do it in C# (WinForms) relatively with the following two lines of code:

var data = new DataObject(DataFormats.FileDrop, filePathStringArray);
myListViewControl.DoDragDrop(data, DragDropEffects.Copy);

enter image description here

Damn Vegetables
  • 11,484
  • 13
  • 80
  • 135
  • 1
    this is a pretty narrow question, you're more likely to get an answer in [kotlin slack](https://surveys.jetbrains.com/s3/kotlin-slack-sign-up), **#compose-desktop** channel – Phil Dukhov Jan 16 '22 at 01:42

0 Answers0