Class GTK2.MessageDialog
- Description
A dialog with an image representing the type of message (Error, Question). alongside some message text. It's simply a convenience widget; you could construct the equivalent of GTK2.MessageDialog from GTK2.Dialog without too much effort, but GTK2.MessageDialog saves typing. Properties: int buttons GTK2.Widget image int message-type string secondary-text
Style properties: int message-border int use-separator
- Inherit
Dialog
inherit GTK2.Dialog : Dialog
- Method
create
GTK2.MessageDialog GTK2.MessageDialog(
mapping
|int
flags
,int
|void
type
,int
|void
buttons
,string
|void
message
,GTK2.Window
parent
)- Description
Creates a new message dialog, which is a simple dialog with an icon indicating the dialog type (error, warning, etc) and some text the user may want to see. When the user clicks a button a "response" signal is emitted with response IDs from RESPONSE_ACCEPT, RESPONSE_APPLY, RESPONSE_CANCEL, RESPONSE_CLOSE, RESPONSE_DELETE_EVENT, RESPONSE_HELP, RESPONSE_NO, RESPONSE_NONE, RESPONSE_OK, RESPONSE_REJECT and RESPONSE_YES. See GTK2.Dialog for more details.