Safe Haskell | None |
---|---|
Language | Haskell98 |
A simple prompt (a labelled entry field).
Documentation
The Prompt
datatype.
Eq (Prompt a) | Internal. |
Synchronized (Prompt a) | You can synchronize on a prompt object. |
GUIObject (Prompt a) | Internal. |
HasEnable (Prompt a) | A prompt is a stateful component, it can be enabled or disabled. |
HasFont (Prompt a) | A propt has a configureable font. |
HasBorder (Prompt a) | A prompt has a configureable border. |
HasColour (Prompt a) | A prompt has a configureable foreground and background colour. |
Widget (Prompt a) | A prompt has standard widget properties (concerning focus, cursor). |
(GUIValue a, GUIValue b) => HasText (Prompt a) b | A prompt has a configureable text. |
GUIValue a => HasValue (Prompt a) a | A prompt widget has an (entered) value. |
:: 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.
Gets the entry field of the prompt.