Christian Robottom Reis <[EMAIL PROTECTED]> writes: > Or are you looking for something different? I don't think there's a > specific 'reorder' signal.
There's a 'rows-reordered' signal on the gtk.TreeModel, but I'm not sure when it is emitted. I think it's only used when you explicitly reorder the model using the rows_reordered() function. This doesn't apply for drag and drop. One simple way to do this is to forget about the drag signals and just watch the TreeModel. This makes sense especially if our concern is to watch updates to the treemodel without needing to know who made them. If you make the TreeView reorderable, you can let gtk+ handle the drags and updates to the model. The model updates resulting from a drag and drop will emit 'row-inserted' and 'row-deleted' signals on the TreeModel. Connect to those signals and do whatever you want when a dnd updates the model. _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
