Learn R Programming

DescTools (version 0.99.54)

PasswordDlg: Password Dialog

Description

Brings up a tcltk dialog centered on the screen, designed for entering passwords while displaying only ****.

Usage

PasswordDlg(option_txt = NULL)

Value

the entered password

the status of the optional checkbox will be returned as attribute: attr(pw, "option")

Arguments

option_txt

an optional text, if it is defined, there will be a checkbox added to the dialog with the label being set with option_txt.

Author

Markus Naepflin <markus@naepfl.in>

Examples

Run this code
if (FALSE) {
pw <- PasswordDlg()
pw}

Run the code above in your browser using DataLab