|
|
|
|
|
| Description |
| the inputform |
|
| Synopsis |
|
|
|
| Documentation |
|
| data InputForm a |
|
|
| newInputForm |
| :: Box | parent container in which the form is embedded | | -> Maybe a | the datatype which contains the initial field values and the results | | -> [Config (InputForm a)] | list of configuration options for this form | | -> IO (InputForm a) | a InputForm | | Creates a new InputForm |
|
|
| class InputField f where |
|
|
| data FormState a |
|
| data EntryField a b |
| The EntryField datatype. |
|
| newEntryField |
|
|
| data EnumField a b |
| The EntryField datatype. |
|
| newEnumField |
|
|
| data TextField a b |
| The TextField datatype. |
|
| newTextField |
|
|
| getFormValue :: InputForm a -> IO a |
|
| setFormValue :: InputForm a -> a -> IO () |
|
| data RecordField a b |
|
| newRecordField :: InputForm a -> (Box -> IO (InputForm b)) -> [Config (RecordField a b)] -> IO (RecordField a b, InputForm b) |
|
| undefinedFormValue :: IOError |
|
| Produced by Haddock version 0.3 |