set_markup


Description:

public void set_markup (string? markup)

Sets markup as the contents of a Text.

This is a convenience function for setting a string containing Pango markup, and it is logically equivalent to:

	/* the order is important */
clutter_text_set_text (CLUTTER_TEXT (actor), markup);
clutter_text_set_use_markup (CLUTTER_TEXT (actor), TRUE);

Parameters:

this

a Text

markup

a string containing Pango markup. Passing null is the same as passing "" (the empty string)




2022 vala-language.org