string_to_compound_text
Description:
[ Version ( deprecated = true , deprecated_since = "4.18" ) ]
public int string_to_compound_text (string str, out unowned string encoding, out int format, out uint8[] ctext)
public int string_to_compound_text (string str, out unowned string encoding, out int format, out uint8[] ctext)
Warning: string_to_compound_text is deprecated since 4.18.
Convert a string from the encoding of the current locale into a form suitable for storing in a window property.
Parameters:
this |
the `GdkDisplay` where the encoding is defined |
str |
a nul-terminated string |
encoding |
location to store the encoding (to be used as the type for the property) |
format |
location to store the format of the property |
ctext |
location to store newly allocated data for the property |
length |
the length of |
Returns:
0 upon success, non-zero upon failure |