|
|
|
|
|
| Description |
| Basic dialog window and a couple of predefined abstractions. |
|
| Synopsis |
|
|
|
| Documentation |
|
| data Dialog a |
| The Dialog datatype. |
|
| dialog |
| :: Bool | the available button in this window | | -> [Choice a] | true if we just want a label to display message, false if we want a fancy read-only text editor | | -> Maybe Int | default button | | -> [Config (Dialog a)] | the list of configuration options for this separator | | -> [Config Toplevel] | the list of configuration options for the window | | -> IO (Dialog a) | a dialog | | Creates a new dialogue with its label, text and buttons. |
|
|
| createAlertWin :: String -> [Config Toplevel] -> IO () |
|
| createErrorWin |
| :: String | the text to be displayed | | -> [Config Toplevel] | | | -> IO () | | | Constructs an error window with the given text |
|
|
| createWarningWin |
| :: String | the text to be displayed | | -> [Config Toplevel] | | | -> IO () | | | Constructs an warning window with the given text |
|
|
| createConfirmWin |
| :: String | the text to be displayed | | -> [Config Toplevel] | | | -> IO Bool | True(Ok) or False(Cancel) | | Constructs an confirm window with the given text |
|
|
| createMessageWin |
| :: String | the string to be displayed | | -> [Config Toplevel] | | | -> IO () | () | | Constructs a message (info) window with the given string. |
|
|
| createAlertWin' |
| :: [MarkupText] | the markuptext to be displayed | | -> [Config Toplevel] | | | -> IO () | | | Constructs an alert window with the given markuptext |
|
|
| createErrorWin' |
| :: [MarkupText] | the markuptext to be displayed | | -> [Config Toplevel] | | | -> IO () | | | Constructs an error window with the given markuptext |
|
|
| createWarningWin' |
| :: [MarkupText] | the markuptext to be displayed | | -> [Config Toplevel] | | | -> IO () | | | Constructs an warning window with the given markuptext |
|
|
| createConfirmWin' |
| :: [MarkupText] | the markuptext to be displayed | | -> [Config Toplevel] | | | -> IO Bool | True(Ok) or False(Cancel) | | Constructs an confirm window with the given markuptext |
|
|
| createMessageWin' |
| :: [MarkupText] | the markup text to be displayed | | -> [Config Toplevel] | | | -> IO () | () | | Constructs a message (info) window with the given markuptext |
|
|
| createDialogWin |
| :: [Choice a] | the available buttons in this window | | -> Maybe Int | default button | | -> [Config (Dialog a)] | the list of configuration options for this separator | | -> [Config Toplevel] | the list of configuration options for the window | | -> IO a | | | Constructs a new dialogue window for plain text |
|
|
| createDialogWin' |
| :: [Choice a] | the available buttons in this window | | -> Maybe Int | default button | | -> [Config (Dialog a)] | the list of configuration options for this separator | | -> [Config Toplevel] | the list of configuration options for the window | | -> IO a | | | Constructs a new dialow window for markup text |
|
|
| Produced by Haddock version 0.3 |