Ndlg script format reference
============================

A script consists of content lines, and if optionally ended with a single 'end'
marker (usefull when passing the script from standard input, to separate it
from the real input if needed):

content-line
...
end

or simply:

content-line
...

A content line starts with a keyword informing the king of content, and thus
the syntax of the rest of the line. When applicable, a keyword can be followed
by a colon and an identifier (for widgets) or a special type keyword. The rest
of the line is composed of arguments depending on the initial keyword.

<keyword>[:(<identifier>|<typekeyword>)] [arguments]

Ndlg support at this moment the folowing keywords:

dialog		gives informations on the whole dialog aspect
action		a set of predefined buttons for actions (ok, cancel, etc..)
wizard		like action, but put wizard buttons (previous, next, finish, cancel)
text		simple text label
input		a text input field
password	a password input field
progress	a progress bar
list		a list box
filebox		a file selection widget
dirbox		a directory selection widget
menu		a menu selection box
tab			a tab like buttons line
button		a button

dialog <width> <height> <title> <description>

action close|okcancel [help] [<button id>:<button text>]

wizard [first|last] [help] [<button id>:<button text>]

text <text>

input:<id> [ro] [lines <numlines>] <label> <initial text>

password:<id> <label> <initial text>

progress [autoclose] [<initial percent>] [<initial text>]

list:<id> [check|radio] [<sep>] return <colnum>|ALL <columns> <columns initial datas>

filebox:<id> <initdir> <initial> [multi [<sep>]]

dirbox:<id> <initial> [mult [<sep>]]

menu:<id> [hideid] <default> <id>:<text> ...

tab:<id> <default> <tabid>:<tabtext> <tabid>:<tabtext> ...

button:<id> <button text>

