Brings up a tcltk dialog centered on the screen, designed for entering passwords while displaying only ****.
PasswordDlg(option_txt = NULL)
the entered password
the status of the optional checkbox will be returned as attribute:
attr(pw, "option")
an optional text, if it is defined, there will be a checkbox added to the dialog with the label being set with option_txt
.
Markus Naepflin <markus@naepfl.in>
if (FALSE) {
pw <- PasswordDlg()
pw}
Run the code above in your browser using DataLab