textPropertyToUtf8ListForDisplay

fnint textPropertyToUtf8ListForDisplay(gdk.display.Display display, gdk.atom.Atom encoding, int format, ubyte[] text, out string[] list)

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

Parameters

displaya #GdkDisplay
encodingan atom representing the encoding of the text
formatthe format of the property
textthe text to convert
listlocation to store the list of strings or null. The list should be freed with [glib.global.strfreev].

Returns

the number of strings in the resulting list