Gcr.Prompt.prototype.set_choice_label

function set_choice_label(choice_label: String): void {
    // Gjs wrapper for gcr_prompt_set_choice_label()
}
  

Set the label for the additional choice.

If this is a non-null value then an additional boolean choice will be displayed by the prompt allowing the user to select or deselect it.

The initial value of the choice can be set with the Gcr.Prompt.prototype.set_choice_label method.

If this is null, then no additional choice is being displayed.

choice_label

the additional choice or null