Re: [gnome-love] Adding DnD support to an application



Trond Andersen wrote:
I have added a bugzilla request for DnD support in Meld which is an
application I use regulary in my daily work.

http://bugzilla.gnome.org/show_bug.cgi?id=315528

I've offered to help out with this, but I need some guidance since
I've never worked with the GTK API and I've only written small scripts
in Python. Since it doesn't seem like the maintainer is interested in
adding DnD support, I thought I try to do an effort, but I think
someone need to give me some hints.

Does anyone care to help me out with this one?

I think you'll find very useful this bug report[1] about adding that
same feature to evince (DND of files from nautilus into evince to open
them) and the small patch[2] for it, with that and the DND api
documentation[3] I think you could do that.

[1] http://bugzilla.gnome.org/show_bug.cgi?id=164813
[2] http://cvs.gnome.org/viewcvs/evince/shell/ev-window.c?r1=1.62&r2=1.63
[3] http://developer.gnome.org/doc/API/2.0/gtk/gtk-Drag-and-Drop.html



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]