[pygtk] callback event question

eric texier texiereric at yahoo.com
Tue Mar 21 07:16:59 WST 2006


I am using a TreeView/TreeStore with  reorderable set to True.
I don't really care about anything until the user move the column
into a new location in the tree. My problem is that I don't find any
event that will let me know that the treeStore has been reorder.

I tried 'drag_data_received', 'button_release_event' on the treeview,
but my callback is called before the actual reoder has been done.
'rows-reordered' on the treestore itself doesn't seen to work and
'row-inserted' is call for each column that is getting
dropped.(including the child)... I can deal with the last by counting
the number of child being dragged but I was curious to know
if it was a way to catch an event when the drop is completly done and
I can update my application.
Thanks,


More information about the pygtk mailing list