It has been a while since I have messed with Ruby/Gnome2, but looking at the information available in the documentation, you should receive Gdk::EventDND for motions, EG when a drag and drop is occurring, you should receive motion events under the Gdk::EventDND.  If you setup a DND on your root window, you can temporarily set your TreeView to have the drag_data_received, and once the operation is complete for the drag and drop, you can have it reset the reorderable property on the TreeView.

That would be the only way I could think of how to do it.  But as I said, it's been a while since I messed with Ruby/Gnome2.



On Sun, Mar 21, 2010 at 1:22 PM, Marc Madmac <> wrote:

does anyone knows if it is possible to make a gtk treeview drag/drop
sensitive (from the same app and/or from another app) and making it
It looks like it's mutually exclusive: connecting the treeview to the
drag_data_received invalidates the reorderable property and setting
reorderable to true after making the signal_connect on
drag_data_receveived disables it.

Any idea or link or something else?

Posted via

Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
ruby-gnome2-devel-en mailing list

Mario Steele
Lieutenant 3 - Geo 99
XO - STO IFT Fleet
Chief Engineer - Second Life