Hi,
just playing with drag and drop to CLists and CTrees and there's some
strange thing. I've done something like:
list.connect("drag_data_received", DragReceiveList)
def DragReceiveList(clist, context, x, y, data, info, time):
selection = clist.get_selection_info(x, y)
so this should return row,col of the current selection. The bad
thing is, that it returns (0,x) for the title of the clist,
(1,x) for the first element of the clist and None for the last
element, which is wrong IMHO.
any ideas ?
Martin
--
Martin Preishuber - Student, ECLiPt Core Member, SysAdmin
http://eclipt.uni-klu.ac.at,
mailto:[EMAIL PROTECTED]
The luck that is ordained for you will be coveted by others.
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]