stringToCompoundTextForDisplay

Warning gdk_string_to_compound_text_for_display has been deprecated since version 2.24 and should not be used in newly-written code. Use gdk_x11_display_string_to_compound_text() Convert a string from the encoding of the current locale into a form suitable for storing in a window property. Since 2.2

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

Parameters

display Display

the GdkDisplay where the encoding is defined.

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 of the property

ctext char[]

location to store newly allocated data for the property.

Return Value

Type: int

0 upon success, non-zero upon failure.

Meta