Text.from_ucs4


Description:

[ CCode ( has_construct_function = false ) ]
public Text.from_ucs4 (unichar str)

Creates a new Text from an UCS-4 encoded string.

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

Parameters:

str

An text string to be set.

Returns:

A newly allocated Text.