On Wednesday 05 March 2008 16:29, Jon Chambers wrote:
> Thanks for the speedy responses!
> I'm now trying to create a non-paintEvent function that calls an update if
> necessary. But now when i do
>
> self.connect(self.timer, QtCore.SIGNAL('timeout()'), self.pollJoysticks())

Remove the parens from self.pollJoysticks () - you want the address of the 
method, not to call the method. Should be:

    self.connect (  ... self.pollJoysticks)

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

Reply via email to