Hi everyone,
is there a way to use markup text in dialogs?
Otherwise, is it proper to use a markup dialog without getting deprecation messages (and not using G_GNUC_*_IGNORE_DEPRECATIONS macros) in this way?
GtkWidget *help = g_object_new(GTK_TYPE_MESSAGE_DIALOG,
"transient-for", window,
"destroy-with-parent", true,
"modal", true,
"text", g_get_prgname(),
"secondary-text", help_message,
"secondary-use-markup", true,
"buttons", GTK_BUTTONS_OK,
NULL);
if (GTK_IS_WINDOW(help)) {
g_signal_connect(help, "response", G_CALLBACK(gtk_window_destroy), NULL);
gtk_window_present(GTK_WINDOW(help));
}