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