From f3c436d74650b38074dbabda9b57feef092a6a26 Mon Sep 17 00:00:00 2001 From: sperber Date: Fri, 10 Jun 2005 09:26:57 +0000 Subject: [PATCH] Clarify optional attributes parameter to the various form element constructors. --- doc/latex/surfletapi.tex | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/latex/surfletapi.tex b/doc/latex/surfletapi.tex index d79a3e4..b26307e 100644 --- a/doc/latex/surfletapi.tex +++ b/doc/latex/surfletapi.tex @@ -1018,7 +1018,14 @@ The procedures for the creation of the input fields mentioned in These create various input field where the user types something in. \var{default} is the text or the number that the browser initially displays in the input field. \var{attributes} are some further - attributes for the input field in SXML notation. + attributes for the input field in SXML notation---it needs to be a + list of the following form: +% +\begin{alltt} +(@ (\var{tag} \var{value}) + \ldots) +\end{alltt} +% \ex{make-text-field} creates a regular text input field. Its Scheme value is a string. \ex{make-number-field} creates a regular text input field, whose Scheme value is a number. It is an error if the