created: 20161020153426686 modified: 20240602160452171 tags: ActionCreateTiddlerWidget title: ActionCreateTiddlerWidget Example type: text/vnd.tiddlywiki <$testcase> <$data title=Description text="Create a new page control button"/> <$data title=Narrative text="""Use the $action-createtiddler widget to create and open a new, non-functional page control button tiddler"""/> <$data title=Output text="""\procedure testCreate() <$action-createtiddler $basetitle="Homemade Button" tags="$:/tags/PageControls" text={{$:/state/new-button-caption}}> <$action-navigate $to=<>/> \end {{$:/core/ui/SideBarSegments/page-controls}} Caption for new button: <$edit-text tiddler="$:/state/new-button-caption" tag="input" default=""/> <$button actions=<> > Create Tiddler """/> <$data title="$:/state/new-button-caption" text="button text "/>