Last chance! 50% off unlimited learning
Sale ends in
GtkResponseType
. See GtkDialog
for more details.gtkMessageDialogNewWithMarkup(parent, flags, type, buttons, ..., show = TRUE)
parent
NULL
for none. [ allow-none ]flags
type
buttons
...
GtkMessageDialog
GtkWidget
] a new GtkMessageDialog
printf()
arguments passed to this
function will automatically be escaped as necessary.
(See gMarkupPrintfEscaped()
for how this is implemented.)
Usually this is what you want, but if you have an existing
Pango markup string that you want to use literally as the
label, then you need to use gtkMessageDialogSetMarkup
instead, since you can't pass the markup string either
as the format (it might contain '%' characters) or as a string
argument.
dialog <- gtkMessageDialog(main_application_window, "destroy-with-parent", "error", "close") dialog$setMarkup(message)Since 2.4