In this article we will see how we can get the description property of the QCalendarWidget. Description property hold the details about the calendar i.e all the details like how it is made and important things related to it. By default description has a empty string although we can add description any time with the help of
In order to do this we will use
accessibleDescriptionmethod with the QCalendarWidget object.
Syntax : calendar.accessibleDescription()
Argument : It takes no argument
Action Performed : It return string
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.