tklist.modal {bio.infer} | R Documentation |
tklist.modal
generates a dialog box that prompts the user to
select from a list of options. This script uses TclTk tools that
should be operable on different operating systems.
tklist.modal(title, elements0, returnValOnCancel="ID_CANCEL",selectmode =
"single")
title |
Title for the list box. |
elements0 |
Character vector of elements listing different choices |
returnValOnCancel |
Character string returned by the script if the dialog box is canceled |
selectmode |
Set to multiple to allow for multiple selections. |
A TclTk dialog box.
Lester L. Yuan
## Not run:
tklist.modal("Select a color", c("red", "green", "blue"))
## End(Not run)