stringToCompoundText

Warning gdk_string_to_compound_text is deprecated and should not be used in newly-written code. Converts a string from the encoding of the current locale into a form suitable for storing in a window property.

static
int
stringToCompoundText
(
string str
,,
out int format
,
out char[] ctext
)

Parameters

str string

a nul-terminated string.

encoding GdkAtom

location to store the encoding atom (to be used as the type for the property).

format int

location to store the format for the property.

ctext char[]

location to store newly allocated data for the property.

Return Value

Type: int

0 upon sucess, non-zero upon failure.

Meta