Action parameter of the tabs macro

Reading the documentation, I don’t understand how to use the action parameter of the tabs macro. Are there any examples?


\define tabActions()
<$action-log newtab=<<currentTab>>/>
<!-- do something here with action widgets when switching the tab-->
\end


<$macrocall
	$name="tabs"
	tabsList="SampleTabOne SampleTabTwo SampleTabThree SampleTabFour"
	default="SampleTabOne"
	state="$:/state/tab1"
	actions=<<tabActions>>
/>
4 Likes