textPropertyToUtf8_ListForDisplay

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

static
int
textPropertyToUtf8_ListForDisplay
(,,
int format
,
char* text
,
int length
,
out char** list
)

Parameters

display Display

a GdkDisplay

encoding GdkAtom

an atom representing the encoding of the text

format int

the format of the property

text char*

the text to convert. [array length=length]

length int

the length of text, in bytes

list char**

location to store the list of strings or NULL. The list should be freed with g_strfreev(). out[array zero-terminated=1]

Return Value

Type: int

the number of strings in the resulting list

Meta