Fire an action when clicking on a tab.
Add the widget above the tab widget you want to add an action to. The widget will search for all the tabs inside its parent container. Update the name of the tab you wish to add an action to and add the same name to the widget, then simply add the action you wish to fire when someone clicks on the tab.
If you want to add another action to a different tab from the same tab widget simply add another widget.