Gcr.Prompt.prototype.confirm_finish
function confirm_finish(result: Gio.AsyncResult): Gcr.PromptReply { // Gjs wrapper for gcr_prompt_confirm_finish() }
Complete an operation to prompt for confirmation.
Gcr.PromptReply.continue will be returned if the user confirms the prompt. The return value will also be Gcr.PromptReply.cancel if the user cancels or if an error occurs. Check the @error argument to tell the difference.
- result
asynchronous result passed to callback
- Returns
the reply from the prompt