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.
Slots:
message-dialog-buttons
. Write-only.
The buttons shown in the message dialog.
Default value: :none
message-dialog-image
.
The image for this dialog
message-dialog-message-type
.
The type of the message. The type is used to determine the image that is shown in the dialog, unless the image is explicitly set by the message-dialog-image property.
Default value: :info
string
. Accessor: message-dialog-secondary-text
.
The secondary text of the message dialog.
Default value: NIL
boolean
. Accessor: message-dialog-secondary-use-markup
.
True if the secondary text of the dialog includes Pango markup. See pango_parse_markup().
Default value: False
string
. Accessor: message-dialog-text
.
The primary text of the message dialog. If the dialog has a secondary text, this will appear as the title.
Default value: ""
boolean
. Accessor: message-dialog-use-markup
.
True if the primary text of the dialog includes Pango markup. See pango_parse_markup().
Default value: False
Signals: