
Next: Frame
Up: Element on a configuration page
Previous: FillOutElm
The FillOut collects all FillOutElm together to a whole
widget
- -text
- This is the title of the fillout
- -entries
- This is a list of FillOutElm's which makes up
the fillout
- -help
- This is general help for the overall fillout
- -export
- This tells wether the widget shall be exported or not.
- -default
- This is the default string, with the following
syntax:
- elements without options are type like this:
%elementname%. Ie with percent signs before and after the
element name.
- element with options are type like this :
%elementname%opt1%opt2%. Ie. First a percent sign, then the name,
then a percent sign, then the first option, a percent sign, next option
etc, and at last a percent sign.
- ordinary text is just typed.
- percent signs are escaped with a backslash:
\
%. - and finally a backslash is escaped if it is supposed to be
inserted literally:
\\
You should always give the default values within a pair of
braces, otherwise the slashes will be expanded one time to many:
-default {%elm%\
%}
Here's an example which should illustrate the use of FillOut:
FillOutElm cwd ...
FillOutElm user ...
FillOutElm host ...
FillOut prompt \
-text "The user prompt"\
-entries cwd user date \
-default {(%user%@%host%) %cwd%} \
-help "This is the default prompt for the shell..."
Here are three fillOutElm's which is used in the FillOut. The default
value is: first a parenthesis ``(`` then the username, an
``@'', the hostname etc..
Jesper Kjær Pedersen <blackie@imada.ou.dk>
Wed Oct 2 13:29:53 MET DST 1996