I am trying to find out if a button is disabled....If it is , I want to enable it .

For example :

    if button disabled:
                self.convertButton.setDisabled(False)

So what can be button disabled be?

disabled is an attribute of HTML object. I don't know how you implement your button, so can't tell you how to check it. In HTML, it would be similar as ...

<input type="button" value="Not Clickable" disabled>
 ... or ...
<input type="button" value="Not Clickable" disabled="">
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.