PyQt5 QCalendarWidget – Icon Changed Signal
In this article we will see how we can get the icon changed signal from the QCalendarWidget. Icon changed signal is emitted when the calendar’s icon has changed. Setting icon also emit the same signal.
In order to do this we will use windowIconChanged method with the QCalendarWidget object. Syntax : calendar.windowIconChanged.connect(lambda: print(“Icon Changed”)) Argument : It takes no argument Action Performed : It will print the message whenever signal get emitted
Below is the implementation
My Personal Notes arrow_drop_up
Please Login to comment...