Source codeContentsIndex
Prompt
Description
A simple prompt (a labelled entry field).
Synopsis
data Prompt a
newPrompt :: (GUIValue a) => Box -> [Config (Prompt a)] -> IO (Prompt a)
getPromptEntry :: Prompt a -> Entry a
Documentation
data Prompt a
The Prompt datatype.
newPrompt
:: (GUIValue a)
=> Box the parent box.
-> [Config (Prompt a)] the list of configuration options for this prompt.
-> IO (Prompt a) A prompt.
Construct a new prompt and returns a handler.
getPromptEntry :: Prompt a -> Entry a
Produced by Haddock version 0.3