Gcr.Prompt.prototype.close

function close(): void {
    // Gjs wrapper for gcr_prompt_close()
}
  

Closes the prompt so that in can no longer be used to prompt. The various prompt methods will return results as if the user dismissed the prompt.

The prompt may also be closed by the implementor of the Gcr.Prompt object.

This emits the GcrPrompt::prompt-close signal on the prompt object.