Function

Gdk-3.0Gdktext_property_to_utf8_list_for_displaySince 2.2

  • Converts a text property in the given encoding to a list of UTF-8 strings.

    Parameters

    • display: Gdk.Display
    • encoding: Gdk.Atom

      an atom representing the encoding of the text

    • format: number

      the format of the property

    • text: string | Uint8Array<ArrayBufferLike>

      the text to convert

    Returns [number, string[]]

    the number of strings in the resulting list

    2.2