title: GTK+ Drag File Onto GUI
body: <p>I am working on an application in GTK+ and C, and am wondering if there is a way to support dragging files onto the GUI (across File Explorers and Desktop Environments). I have been able to achieve dragging text (through <code>gtk_drag_dest_set</code> and <code>g_signal_connect</code>) but dragging files onto the GUI has no effect. I am wondering if this is something that varies by Distro and Desktop Environment or if there is a good way to do this universally. My code for dropping text is <a href="https://pastebin.com/vd17ABHJ" rel="nofollow noreferrer">here</a> and the Makefile <a href="https://pastebin.com/Pt8pNyrj" rel="nofollow noreferrer">here</a>.</p>
  <p>Surely there is a way to do this? I am able to drag files into apps like Firefox, Sublime Text, and VS Code...</p>
  <p>EDIT (Clarification): I am using XFCE, but I would like to find a solution which supports other Desktops like Gnome and KDE.</p>