Gcr.Prompt::prompt-close
connect('prompt-close', function (prompt, ): void);
Action signal fired when the prompt is to be closed. After the default handler has run, the prompt is closed. The various prompting methods will return results as if the user dismissed the prompt.
You can use the Gcr.Prompt.prototype.close method to emit this signal.
- prompt
instance of Gcr.Prompt that is emitting the signal