Copyright | (c) 2018-2019 Kowainik |
---|---|
License | MPL-2.0 |
Maintainer | Kowainik <xrom.xkov@gmail.com> |
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
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.