Creates a new Text from a static string.
Since str is a static string which won't be freed. This function will NOT duplicate str.
str
An text string to be set.
A newly allocated Text.