PyQt5 QCalendarWidget – Checking Hidden Property
In this article we will see how we can check the hidden property of QCalendarWidget, hiding is exactly opposite of showing the QCalendarWidget. Calendar widget is a big widget therefore there is need to hide it when user don’t need it. We can hide it using
hide method but we can’t unhide it using the same method although this method change the hidden property. We use
setHidden method to change the hidden property.
In order to do this we will use
isHiddenmethod with the QCalendarWidget object.
Syntax : calendar.isHidden()
Argument : It takes no argument
Return : It returns bool
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