PyQt5 QCalendarWidget – Accessing Geometry
In this article we will see how we can get the geometry of the QCalendarWidget. Geometry basically refer to the position and the size of the calendar. We can change the size of calendar with the help of
resize method and position can be changed with the help of
move method. Combining these two methods made the geometry of calendar. We can change/set geometry to the calendar with the help of
In order to do this we will use
geometrymethod with the QCalendarWidget object.
Syntax : calendar.geometry()
Argument : It takes no argument
Return : It return QRect object
Below is the implementation
My Personal Notes arrow_drop_up
Please Login to comment...