The "clicked" signal is emitted when a user clicks on a page tab. By default this signal is connected to the set_page() method. This has the effect of moving the page associated with the tab to the front of the notebook.
Callback function