Gcr.Prompt.prototype.get_cancel_label

function get_cancel_label(): String {
    // Gjs wrapper for gcr_prompt_get_cancel_label()
}
  

Get the label for the cancel button.

This is the button that results in a Gcr.PromptReply.cancel reply from the prompt.

Returns

a newly allocated string containing the label