Re: Using DnD from a GtkImage

2015-06-18 Thread Wouter Verhelst
On Tue, Jun 16, 2015 at 11:08:19AM +0200, Wouter Verhelst wrote: > What am I missing? So, it turned out that in order to make this work, I have to wrap my GtkImage inside a GtkEventBox, since the GtkImage itself does not support drag-and-drop for some boring technical reasons. Then, I can easily

Using DnD from a GtkImage

2015-06-16 Thread Wouter Verhelst
Hi, I've been trying to set up an application so that a user can perform a drag and drop operation by dragging from a GtkImage and dropping it to an external application, but I seem to be having no luck. I currently have the following: void setup_dnd() { GtkWidget *photo = GTK_WIDGET(gtk