textPropertyToUtf8ListForDisplay

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

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

Parameters

display Display
encoding GdkAtom

an atom representing the encoding of the text

format int

the format of the property

text char[]

the text to convert

list string[]

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

Return Value

Type: int

the number of strings in the resulting list

Meta