textPropertyToUtf8ListForDisplay

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

int
textPropertyToUtf8ListForDisplay

Parameters

display gdk.display.Display

a #GdkDisplay

encoding gdk.atom.Atom

an atom representing the encoding of the text

format int

the format of the property

text ubyte[]

the text to convert

list string[]

location to store the list of strings or null. The list should be freed with glib.global.strfreev.

Return Value

Type: int

the number of strings in the resulting list