Next: , Previous: menu-tool-button, Up: Widgets

6.2.60 message-dialog

— Class: message-dialog

Superclass: dialog atk-implementor-iface buildable

message-dialog presents a dialog with an image representing the type of message (Error, Question, etc.) alongside some message text. It's simply a convenience widget; you could construct the equivalent of message-dialog from dialog without too much effort, but message-dialog saves typing.

The easiest way to do a modal message dialog is to use gtk_dialog_run(), though you can also pass in the :modal flag, dialog-run automatically makes the dialog modal and waits for the user to respond to it. dialog-run returns when any dialog button is clicked.