Text.from_string


Description:

[ CCode ( has_construct_function = false ) ]
public Text.from_string (string str)

Creates a new Text from a string.

str will be duplicated in Text, so feel free to free str after this function.

Parameters:

str

An text string to be set.

Returns:

A newly allocated Text.




2022 vala-language.org