In this article we will see how we can remove i.e clear the mask of the QCalendarWidget. Mask are basically used to hide the calendar, with the help of mask user will not be able to see the whole calendar although the calendar will still exist but there will be mask on it.We can set mask to the calendar with the help of
In order to do this we will use
clearMaskmethod with the QCalendarWidget object.
Syntax : calendar.clearMask()
Argument : It takes no argument
Return : It return 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.