[Gtk-sharp-list] Gnome.IconList drag & drop

barbapapa barbapapa@myrealbox.com
Sun, 03 Nov 2002 13:36:31 -0500


Hi all,

a rookie question:
I've got two different Gnome.IconList instances filled with nice icons
(which I did with IconList.Append)
Now I'd like to be able to drag and drop icons from one side to the other.
Let's suppose I already have eventhandlers to be called if an item is
dropped into the IconList or on another icon. What I can't figure out is
how to actually get my IconLists to be Drag-n-Drop sources/targets and
how to get those Icons to be dragged around. In c, I guess I would have
used gtk_drag_source_set etc. but I can't find that.
So my questions are:
How do I do Drag - n - Drop in gtk# ?
Is there anything special to know when I want DnD on IconLists?