Safe Haskell | None |
---|---|
Language | Haskell2010 |
Form layout and form fields data types.
Synopsis
- data SummonForm
- type KitForm e = Form SummonKit e SummonForm
- mkForm :: forall e. SummonKit -> KitForm e
- getCurrentFocus :: Form s e n -> Maybe n
- isActive :: SummonKit -> SummonForm -> Bool
- recreateForm :: forall e. (KitForm e -> KitForm e) -> KitForm e -> KitForm e
Documentation
data SummonForm Source #
Form that is used for new
command.
Instances
type KitForm e = Form SummonKit e SummonForm Source #
Alias for type of the summoner
form.
mkForm :: forall e. SummonKit -> KitForm e Source #
Creates the input form from the given initial SummonKit
.
getCurrentFocus :: Form s e n -> Maybe n Source #
Gets current focus of the form.