In this article we will see how we get the children of the QCalendarWidget. Calendar is not alone a single widget it is a mixture of lots of smaller widget which we refer as calendar’s child. There are many child such as table view, item delegate etc.
In order to do this we will use
childrenmethod with the QCalendarWidget object.
Syntax : calendar.childAt()
Argument : It takes no argument
Return : It return list of all the child object of calendar
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.