Gcr.SystemPrompt.prototype.close
function close(cancellable: Gio.Cancellable): Boolean {
// Gjs wrapper for gcr_system_prompt_close()
}
Close this prompt. After calling this function, no further prompts will succeed on this object. The prompt object is not unreferenced by this function, and you must unreference it once done.
This call may block, use the Gcr.SystemPrompt.prototype.close_async to perform this action indefinitely.
Whether or not this function returns true, the system prompt object is still closed and may not be further used.
- cancellable
an optional cancellation object
- Returns
whether close was cleanly completed