Set simple formatted text content from a format string and the content which is escaped

GtkLabel lbl = new GtkLabel("Non-formatted text")
lbl.set_markup("<span style=\"italic\">\%s</span>".to_cstring,
               "Italic content")

Property definitions

gtk $ GtkLabel :: set_markup
	# Set simple formatted text content from a `format` string and the `content` which is escaped
	#
	# ~~~nitish
	# GtkLabel lbl = new GtkLabel("Non-formatted text")
	# lbl.set_markup("<span style=\"italic\">\%s</span>".to_cstring,
	#                "Italic content")
	# ~~~
	fun set_markup(format, content: CString) `{
		char *formatted = g_markup_printf_escaped(format, content);
		gtk_label_set_markup(self, formatted);
		g_free(formatted);
	`}
lib/gtk/v3_4/gtk_core.nit:700,2--711,3