Gcr.SystemPrompter.prototype.get_mode

function get_mode(): Gcr.SystemPrompterMode {
    // Gjs wrapper for gcr_system_prompter_get_mode()
}
  

Get the mode for this prompter.

Most system prompters only display one prompt at a time and therefore return Gcr.SystemPrompterMode.single.

Returns

the prompter mode