In this article we will see how we can the QCommandLinkButton checkable, by default it is not checkable although we can make it checkable any time, checkable command link button when clicked remain in pressed state and when clicked again it comes back to original state.
In order to do this we use
setCheckable method with the command link button object
Syntax : button.setCheckable(True)
Argument : It takes bool as argument
Return : It returns None
Below is the implementation
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course.