In this article we will see how we can get the name property of the QCalendarWidget. Name property hold the name of the calendar, name is used to distinguish the calendar with each other i.e categorize them according to the use, for example, birth calendar, booking calendar etc. By default name property contains an empty string although we can set name any time with the help of
In order to do this we will use
accessibleNamemethod with the QCalendarWidget object.
Syntax : calendar.accessibleName()
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. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course