PyQt5 – Tri-state Check Box
When we create a check box, by default there are two state which are either checked i.e True and other is False. But we can add third state to it which is neither True or False with the help of
Below is how all three states looks like.
Syntax : checkbox.setTristate(True)
Argument : It takes bool as argument.
Action performed : It will add third state to the check box.
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. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course