On 29 July 2010 05:22, Kimet Adil <[email protected]> wrote: > Hi, > > If I have 2 treeviews, treeview1 displays a list of teaching subjects > (maths, history, etc) and another treeview2 with teachers names. I would > like to drag teacher rows out of treeview2 and drop them as children of the > subject rows in treeview1. Idealy they would disappear from treeview 2 after > they have been dragged into treeview 1. > > > I am not asking for someone else to code this for me but any guidance or > suggestions on how to approach this would be appreciated. I am using: > > http://www.pygtk.org/pygtk2tutorial/examples/treeviewdnd.py > > as a starting point. > > Thanks, > Kim >
I think this is an example of what you're looking for: http://www.learnpygtk.org/coderepository/treeviewdragdrop.py
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
