GdkX11.X11Display.prototype.string_to_compound_text
function string_to_compound_text(str: String): [return_value: Number(gint), encoding: Gdk.Atom, format: Number(gint), ctext: ByteArray] {
    // Gjs wrapper for 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.24
- str
 a nul-terminated string
- return_value
 0 upon success, non-zero upon failure
- encoding
 location to store the encoding atom (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