format_secondary_markup


Description:

[ PrintfFormat ]
[ Version ( since = "2.6" ) ]
public void format_secondary_markup (string message_format, ...)

Sets the secondary text of the message dialog to be message_format (with printf-style), which is marked up with the Pango text markup language.

Due to an oversight, this function does not escape special XML characters like MessageDialog.with_markup does. Thus, if the arguments may contain special XML characters, you should use printf_escaped to escape it.

gchar *msg;

msg = g_markup_printf_escaped (message_format, ...);
gtk_message_dialog_format_secondary_markup (message_dialog,
"%s", msg);
g_free (msg);

Parameters:

this

a MessageDialog

message_format

printf-style markup string (see Pango markup format), or null

...

arguments for message_format