Re: Drag from treeview to eventbox



On 01/14/2011 05:26 PM, Paul Davis wrote:

the treeview in gtk 2.* doesn't support DnD to other widgets, let
alone other windows.

Not sure what you're talking about. I have DnD from and to other widgets and other X11 clients just fine without any hacks.

I wrote this example a long time ago when I was a n00b00n2.

http://en.wikibooks.org/wiki/GTK%2B_By_Example/Tree_View/DnD#Dragging_Rows_from_One_Tree_to_Another

It can be done even simpler. But it works fine as-is and can be extended to any widget.


Vikram.





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