both self.my_button.setEnabled(False) and self.my_button.setDisabled(True) worked for me.
On Fri, Jan 13, 2012 at 3:11 PM, Fabien Lafont <[email protected]>wrote: > I can I disable a QPushButton? I've tried Button.setEnabled(False) but > the button only becomes grey and I can click on it again. > > Thanks, > > Fabien > > _______________________________________________ > PyQt mailing list [email protected] > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- "Attention, attention. Here and now, boys," the mynah repeated. "Here and now, boys."
_______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
