Basic input window for record values and their fields.
- data InputWin a
- createInputWin :: String -> (Box -> IO (InputForm a)) -> [Config Toplevel] -> IO (InputWin a, InputForm a)
- createInputWin' :: String -> [Config Message] -> (Box -> IO (InputForm a)) -> [Config Toplevel] -> IO (InputWin a, InputForm a)
- wait :: InputWin a -> Bool -> IO (Maybe a)
- waitValidate :: InputWin a -> (a -> IO Bool) -> Bool -> IO (Maybe a)
Documentation
:: String | the message for the headline |
-> [Config Message] | configs for the header message, e.g. font or aspect |
-> (Box -> IO (InputForm a)) | the |
-> [Config Toplevel] | configuration for the toplevel (e.g. title) |
-> IO (InputWin a, InputForm a) | the |
Create an InputWindow
with a generic message box title