[Mono-dev] gtk# drag and drop

Federico Di Gregorio fog at initd.org
Wed Oct 13 04:11:28 EDT 2010


On 13/10/2010 10:00, Tomasz Kubacki wrote:
> I wanted to drag from treeview to another control. How can i control
> from which treeitems of tree i can start drag ? Should i invoke
> EnableModelDragSource every time i change selected tree item ?
> 
> Any good tutorials/examples (github urls) where i can see drag and drop
> in action ?

I don't know if it is a GOOD example but I implemented treeview
drag&drop in my MagicWand project (a Magic: The Gathering deck
organizer). Code is GPL so feel free to cut and paste if you like:

git clone git://luna.dndg.it/public/magicwand

Have fun,
federico

-- 
Federico Di Gregorio                                       fog at initd.org
                  Beh un bacio, se ben dato, non si rifiuta. --  <laura>


More information about the Mono-devel-list mailing list