Description Usage Arguments Value Author(s) Examples
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.
1 2 | 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
1 2 3 4 | ## Not run:
tklist.modal("Select a color", c("red", "green", "blue"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.