[pygtk] TreeStores and rows-reordered signal

Alessandro Dentella sandro at e-den.it
Tue Dec 15 05:01:10 WST 2009

On Mon, Dec 14, 2009 at 02:28:25PM +0200, Neil Muller wrote:
> On 12/14/09, Alessandro Dentella <sandro a e-den.it> wrote:
> > Hi,
> >
> >   I'm probably misinterpreting what 'rows-reordered' means, but I thought that
> >   should be a signal emitted by a TreeStore when rows are reordered by D&D
> >   operations. Am I wrong?
> rows-reordered is sent by actions such as sorting the tree - it
> doesn't cater for items changing depth in the tree. D & D operations
> result in row-deleted and row-inserted signals being sent.

Thanks Neil, 

I was mistaken by the fact that 'set_reoderable' is the way you set
D&D on the TreeView... I find it misleading.


Sandro Dentella  *:-)
http://sqlkit.argolinux.org        SQLkit home page - PyGTK/python/sqlalchemy

More information about the pygtk mailing list