[Gtk-sharp-list] Issues with Drag and Drop from TreeView on Mac and Windows

Doug Blank doug.blank at gmail.com
Mon Feb 7 11:01:24 EST 2011

I'm looking for some advice on how to make TreeView (or something)
work in a drag-and-drop managed Mono Gtk# app on Win, Linux, and Mac.

I have some sample code dragging treeview items onto other widgets:


that works fine in Linux, doesn't allow the drop in Windows (using
Mono after version 2.6.7), and just crashes on the drop (because of no
Context.Targets I suspect) on all versions of Mac Mono. Am I doing something
obviously wrong?

I've reported the Windows issue as a bug:


Is there a way I can work-around these limitations in Managed C#? Or,
if I need to drop down to unsafe, I could do that too. As long as it
would allow the drop on Windows, and not crash on Mac.

Any assistance much appreciated!


PS - here is my goal:

More information about the Gtk-sharp-list mailing list