tklist.modal {bio.infer}R Documentation

Modal select list dialog using TclTk

Description

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.

Usage

tklist.modal(title, elements0, returnValOnCancel="ID_CANCEL",selectmode =
"single")

Arguments

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.

Value

A TclTk dialog box.

Author(s)

Lester L. Yuan

Examples

## Not run: 
tklist.modal("Select a color", c("red", "green", "blue"))

## End(Not run)

[Package bio.infer version 1.2-8 Index]