textPropertyToTextList

Warning gdk_text_property_to_text_list is deprecated and should not be used in newly-written code. Converts a text string from the encoding as it is stored in a property into an array of strings in the encoding of the current local. (The elements of the array represent the nul-separated elements of the original text string.)

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

Parameters

encoding GdkAtom

an atom representing the encoding. The most common values for this are STRING, or COMPOUND_TEXT. This is value used as the type for the property.

format int

the format of the property.

text char[]

the text data.

list string[]

location to store a terminated array of strings in the encoding of the current locale. This array should be freed using gdk_free_text_list().

Return Value

Type: int

the number of strings stored in list, or 0, if the conversion failed.

Meta