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():
isChecked()
Phil
___
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