stringF :: F String (InputMsg String) passwdF :: F String (InputMsg String) intF :: F Int (InputMsg Int) type InF a b = F a (InputMsg b)
stringF allows arbitrary
strings to be entered. The string can be edited by moving
a cursor with the arrow keys and inserting and deleting characters.
The current selection can be pasted by pressing the middle mouse button.
passwdF works like stringF, except that it shows asterisks for
all characters input.
intF works like stringF, except that it allows only integer
values to be input.
InputChange s is output whenever the user edits the string,
where s is the new contents of the input field.
InputDone key s is output when an ``enter'' key is pressed.
Currently Return, KP_Enter and Tab count as
enter keys.
stringF
Customisable versions: stringF', passwdF', intF'.
Useful postprocessors: inputDoneSP, stripInputSP.
Related fudgets: displayF,