Gtk.IMContext.prototype.get_preedit_string

function get_preedit_string():void {
    // Gjs wrapper for gtk_im_context_get_preedit_string()
}

Retrieve the current preedit string for the input context, and a list of attributes to apply to the string. This string should be displayed inserted at the insertion point.