Takes ownership on a given string, so you don't need to free it.
a Text object
a string to take ownership on