SimonBiggs / scriptedforms

Quickly create live-update GUIs for Python packages using Markdown and simple HTML elements.
Apache License 2.0
508 stars 34 forks source link

Create a variable-template #196

Open SimonBiggs opened 6 years ago

SimonBiggs commented 6 years ago

Create a "variable-template" or something similar that takes a python string as input. The contents of that python variable are written into the form as part of the template.

This will enable shipping custom toolbar buttons as packages and similar.

It will also enable template reuse, and other interesting use cases.

SimonBiggs commented 6 years ago

Have a ScriptedForms function that can be called by python to append items to the template.