textPropertyToUtf8ListForDisplay

Converts a text property in the given encoding to a list of UTF-8 strings.

int
textPropertyToUtf8ListForDisplay
(,,
int format
,
string text
,
out string[] list
)

Parameters

display Display

a #GdkDisplay

encoding GdkAtom

an atom representing the encoding of the text

format int

the format of the property

text string

the text to convert

list string[]

location to store the list of strings or %NULL. The list should be freed with g_strfreev().

Return: the number of strings in the resulting list

Meta