Nice!

The smacking sound you probably heard was my palm hitting my forhead.  It 
simply had not occured to me to use ...PageControls to add key buttons in 
this manner.

Thank to both of you for an informative Question and Answer.

Cheers,
Hans


On Sunday, May 30, 2021 at 3:53:49 PM UTC-4 Eric Shulman wrote:

> On Sunday, May 30, 2021 at 12:35:52 PM UTC-7 rj...@blackperl.com wrote:
>
>> is there a way to assign it an icon and have it be an action that I can 
>> configure into my main menu-bar?
>>
> 1) First, create a tiddler (e.g., "New Project"), containing the desired 
> "skeleton content" and tags.
> 2) Next, create a tiddler (e.g., "NewProjectButton"), containing a $button 
> definition like this:
> <$button message="tm-new-tiddler" param="New Project" tooltip="Create a 
> new Project tiddler" class="tc-btn-invisible">
>    {{$:/core/images/spiral}}
> </$button>
> 3) Tag "NewProjectButton" with *$:/tags/PageControls*
>
> Notes:
> * You can name the tiddlers anything you like
> * Use class="tc-btn-invisible" so the $button just displays the icon 
> without any border or background color
> * Replace $:/core/images/spiral with any tiddler containing a small 
> button-sized image
>
> enjoy,
> -e
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/01b0de6f-70aa-4f45-8e69-f51799764bd6n%40googlegroups.com.

Reply via email to