PyQt5 QCalendarWidget – Getting Mask
In this article we will see how we can get 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
maskmethod with the QCalendarWidget object.
Syntax : calendar.mask()
Argument : It takes no argument
Return : It return QRegion object
Below is the implementation
My Personal Notes arrow_drop_up
Please Login to comment...