Gtk.IMContext.prototype.reset

function reset():void {
    // Gjs wrapper for gtk_im_context_reset()
}

Notify the input method that a change such as a change in cursor position has been made. This will typically cause the input method to clear the preedit state.