I found a version, that works and doesn't modify the listItem. Just 
creating a new class. ... but imo its ugly using a second list widget. 

\define config-title()
$:/config/ViewToolbarButtons/Visibility/$(listItem)$
\end

\define remove() 
[[$(listItem)$]removeprefix[$:/core/ui/Buttons/]]
\end

\define newClass() 
tc-toolbar-$(currentTiddler)$
\end

<$list 
filter="[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]]" 
variable="listItem">
<$list filter=<<remove>>>
<$reveal type="nomatch" state=<<config-title>> text="hide" 
class=<<newClass>> ><$transclude 
tiddler=<<listItem>>/></$reveal></$list></$list>

-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to