|
Graphics.UI.Port.Message | Portability | portable | Stability | provisional | Maintainer | ka2_mail@yahoo.com |
|
|
|
|
|
Description |
The message functions create, display, and operate a message box. The
message box contains an application-defined message and any combination
of predefined icons and push buttons.
|
|
Synopsis |
|
|
|
Documentation |
|
messageAlert :: String -> IO () |
The messageAlert box provides an OK button and an image which indicates that
the given message is just for information. |
|
messageConfirm :: String -> IO Bool |
The messageConfirm box, like the messageAlert box provides an OK button, and in addition
a Cancel button. An image indicates that the given message is just for information.
The function returns True when the box is closed with the OK button; in all other cases it returns False. |
|
messageWarning :: String -> IO () |
The messageWarning box provides an OK button and an image which indicates that
the given message is a warning. |
|
messageQuestion :: String -> IO Bool |
The messageQuestion box provides Yes and No buttons and an image which indicates that
the given message is a question. The function returns True for Yes button and False for No answer. |
|
messageError :: String -> IO Bool |
The messageError box provides OK and Cancel buttons and an image which indicates that
it is an error message. The function returns True when the box is closed
with the OK button; in all other cases it returns False. |
|
data QuestionAnswer |
|
|
messageCancelQuestion :: String -> IO QuestionAnswer |
The messageCancelQuestion box like the messageQuestion box provides an Yes and No buttons,and in addition
a Cancel button. An image indicates that the given message is a question. |
|
messageConfirmSave :: String -> IO QuestionAnswer |
The messageConfirmSave box is applicable when the application asks whether the document should be saved or not. |
|
Produced by Haddock version 0.4 |