Hi Alberto,
I wanted to do the same thing. This is the code I came up with:
\define resettab(state)
<$reveal state=<<qualify $state$>> type="nomatch" text="">
<$tiddler tiddler=<<qualify $state$>>>
<span class="tw-tiddler-controls" style="position:relative;top:12px;">
<$button set={{!!title}} setTo="" class="btn-invisible">{{$:/core/
ui/ViewToolbar/close}}</$button>
</span>
</$tiddler>
</$reveal>
\end
\define mytabs(filter:"Home" default:"" state:"$:/state/tab" class:"")
<<resettab "$state$">>
<<tabs "$filter$" "$default$" "$state$" "$class$">>
\end
<$macrocall $name="mytabs" filter="one two three"/>
Dominic
Am Dienstag, 17. Juni 2014 10:49:07 UTC+2 schrieb Alberto Molina:
>
> Hi,
>
> When using tabs like that:
>
> <<tabs "my tabs list" "default" "$:/state/tab">>
>
> there's a tiddler like $:/state/tab-{-1805294878}
> <https://groups.google.com/forum/#%24%3A%2Fstate%2Ftab-%7B-1805294878%7D>
> containing the state of my tabs (which one is selected).
>
> I would like to access this state tab tiddler in order to see and modify
> its contents. More specifically, I want to create a button that states the
> selected tab to "none". The problem is to know which
> $:/state/tab-{-something} is the right one.
>
> Ideas?
>
> Alberto
>
>
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.