[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] QPushButton Checkable
From: Phil Thompson <phil () riverbankcomputing ! co ! uk>
Date: 2007-11-23 8:44:55
Message-ID: 200711230844.55416.phil () riverbankcomputing ! co ! uk
[Download RAW message or body]
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
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic