On Thu, 28 Jul 2011 11:59:53 +0200, Sebastian Elsner
<sebastianels...@freenet.de> wrote:
> Hallo,
> 
> inserting widgets with a negative index does not work as expected. I was

> expecting -1 to add a widget to the end and -2 to insert it right before

> the last widget in the layout. Is my assumption wrong?

Yes. That's a Python convention, not a Qt/C++ convention.

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to