summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-11-07 22:51:41 +0100
committerWuzzy <almikes@aol.com>2016-11-07 22:51:41 +0100
commita16d634ffdf7029eea80583966359d38aa4c2d7c (patch)
tree4db9cc23a324d85d7459bbce0f3c7cc5185c5259 /API.md
parent105110d7d45cdfc01360ba7deabe64cf9d2b4d7a (diff)
Return widget ID in text widget tool function
Diffstat (limited to 'API.md')
-rw-r--r--API.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/API.md b/API.md
index f275f78..34b0bbe 100644
--- a/API.md
+++ b/API.md
@@ -413,7 +413,10 @@ The default values for the optional parameters result in a widget which fills
nearly the entire entry page.
#### Return value
-A string which contains a complete formspec definition building the widget.
+Two values are returned, in this order:
+
+* String: Contains a complete formspec definition building the widget.
+* String: Formspec element ID of the created widget
#### Note
When you use this function to build a formspec string, do not use identifiers