I have set a QPushButton checkable, so now it "sticks" down when clicked. How can I detect that in an if statement?

I tried this but it gives me an AttributeError: toggled error.

if self.startButton.toggled():

Thanks,

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

Reply via email to