Modal dialog box using TclTK

Description

modalDialog generates a dialog box prompting the user to enter a list of text before the process continues. Based on scripts provided in http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/

Usage

1
2
modalDialog(title,itemlist,entryInit,entryWidth=20,
                        returnValOnCancel="ID_CANCEL")

Arguments

title

Title for the dialog box

itemlist

Character vector of names that the user must correct

entryInit

Default string to fill in the entries

entryWidth

Width of entry string

returnValOnCancel

Value for script to return if canceled

Value

Character vector of user entries.

Author(s)

Lester L. Yuan

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.