Learn R Programming

SciViews (version 0.8-9)

guiDlgList: A list selection dialog box

Description

Select an item in a list

Usage

guiDlgList(items, multi = FALSE, message = if (multi) "Select item(s):" else "Select one item:",
    title = "Selection", default = 1, nsel = NULL, new = FALSE, sort = FALSE, width = 50,
    parent = 0, GUI = getOption("guiWidgets"))

Arguments

items
The list of items
multi
Is it a multiple selection dialog box?
message
The message to display on top of the list
title
The title of the dialog box
default
The default selected item
nsel
Maximum number of selected items allowed
new
Do we allow to create new items?
sort
Do we sort the list?
width
The width of the dialog box
parent
Which window is the parent of this dialog box?
GUI
Which GUI toolkit do we use for this dialog box?

Value

  • A list with selected items

synopsis

guiDlgList(items, multi = FALSE, message = if (multi) "Select item(s):" else "Select one item:", title = "Selection", default = 1, nsel = NULL, new = FALSE, sort = FALSE, width = 50, parent = 0, GUI = getOption("guiWidgets")) guiDlgList.wxPython(items, message = "Select one item:", title = "Selection", default = 1, multi = FALSE, new = FALSE, sort = FALSE, parent = 0)

See Also

guiDlgDoubleList

Examples

Run this code
#### TO DO...

Run the code above in your browser using DataLab