Learn R Programming

DescTools (version 0.99.43)

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)

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.

Value

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

Examples

Run this code
# NOT RUN {
pw <- PasswordDlg()
pw
# }

Run the code above in your browser using DataLab