guiDlgList: A list selection dialog box
Description
Select an item in a listUsage
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
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?
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)