Hi Danielo

The button is sending a message back up to the ancestor navigator widget
that contains it. It is the navigator widget that actually creates the new
tiddler. That indirection is needed because the process of adding the new
tiddler needs to know things like the current story and history details.
Specifying those details within the button would reduce the ability to
reuse them.

Best wishes

Jeremy.




On Wed, Jan 22, 2014 at 12:50 AM, Danielo Rodríguez <[email protected]>wrote:

> Thanks for your tips.
> But about the sense of logic, where is the logic in this:
> <$button message="tw-new-tiddler"...
>
> That creates a button that creates a new tiddler. Using the message! I
> just checked the button documentation and there is no clue about that. I
> like to play around, but sometimes reverse engineering takes too much time
> and a bit of frustration.
>
> --
> 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/groups/opt_out.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
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/groups/opt_out.

Reply via email to