text_property_to_utf8_list_for_display


Description:


[ Version ( since = "2.2" ) ]
public int text_property_to_utf8_list_for_display (Display display, Atom encoding, int format, uint8[] text, out string[] list)

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

Parameters:

display

a Display

encoding

an atom representing the encoding of the text

format

the format of the property

text

the text to convert

list

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

length

the length of text, in bytes

Returns:

the number of strings in the resulting list


Namespace: Gdk
Package: gdk-3.0



2022 vala-language.org