Declaration [src]

gtk_message_dialog_format_secondary_markup (
  GtkMessageDialog* message_dialog,
  const gchar* message_format,

Description [src]

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][PangoMarkupFormat].

Due to an oversight, this function does not escape special XML characters like gtk_message_dialog_new_with_markup() does. Thus, if the arguments may contain special XML characters, you should use g_markup_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);
Available since:2.6
This method is not directly available to language bindings.


message_format const gchar*

Printf()-style markup string (see [Pango markup format][PangoMarkupFormat]), or NULL.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.

Arguments for message_format.