Source codeContentsIndex
InputWin
Description
Basic input window for record values and their fields.
Synopsis
module InputForm
data InputWin a
createInputWin :: String -> (Box -> IO (InputForm a)) -> [Config Toplevel] -> IO (InputWin a, InputForm a)
wait :: InputWin a -> Bool -> IO (Maybe a)
Documentation
module InputForm
data InputWin a
The InputWin datatype.
createInputWin :: String -> (Box -> IO (InputForm a)) -> [Config Toplevel] -> IO (InputWin a, InputForm a)
wait
:: InputWin a the InputWindow to wait for
-> Bool grep focus
-> IO (Maybe a) Nothing or Just (the data stored in the IputForm)
Wait for the user to end the dialog.
Produced by Haddock version 0.3