[PyQt] QPushButton Checkable

Phil Thompson phil at riverbankcomputing.co.uk
Fri Nov 23 08:44:55 GMT 2007

On Friday 23 November 2007, Lawrence Shafer wrote:
> 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():



More information about the PyQt mailing list