After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 150270 - support dnd in the icon view
support dnd in the icon view
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkIconView
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2004-08-16 16:09 UTC by Matthias Clasen
Modified: 2011-02-04 16:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
unfinished patch (45.72 KB, patch)
2004-08-16 16:21 UTC, Matthias Clasen
needs-work Details | Review

Description Matthias Clasen 2004-08-16 16:09:11 UTC
The icon view should support dnd
Comment 1 Matthias Clasen 2004-08-16 16:21:11 UTC
Created attachment 30602 [details] [review]
unfinished patch

The attached patch is a work in progress to basically reuse the tree view dnd
code, which allows some nice convenience stuff like automatic reorderability
Comment 2 Anders Carlsson 2004-08-17 06:16:16 UTC
Is it possible to support dragging multiple items easily with this API?
Comment 3 Matthias Clasen 2004-08-17 13:01:36 UTC
There is no special support for it, you'll have to do it by hand currently.
There is a patch by kris in some other bug which adds some convenience methods
to the tree dnd api for dragging multiple items. That will have to be ported
over to the icon view as well. I initially considered integrating that work, but
then decided that it will be easier to first port the working single-item dnd
code from tree view to icon view and add multi-item functionality to both later
on...
Comment 4 Matthias Clasen 2005-05-06 04:14:41 UTC
2005-05-06  Matthias Clasen  <mclasen@redhat.com>

	* tests/testiconview.c: Test DND.

	* gtk/gtk.symbols:
	* gtk/gtkiconview.[hc]: Add DND support similar to the DND
	support in the tree view.  (#150270)