PyQt5 QCalendarWidget – Activated signal
In this article, we will see how we can get the activated signal from the QCalendarWidget. An activated signal is emitted whenever the user presses the Return or Enter key or double-clicks a date in the calendar widget.
In order to do this we will use actiavted method with the QCalendarWidget object.
Syntax : calendar.activated.connect(lambda: print(“Calendar Got activated”))
Argument : It takes method as argument
Action Performed : It will print the message whenever activated signal get emitted
Below is the implementation