Usage
gcombobox(items, selected = 1, editable = FALSE, coerce.with=NULL, handler = NULL,
action = NULL, container = NULL, ..., toolkit = guiToolkit())gdroplist(items, selected = 1, editable = FALSE, coerce.with=NULL, handler = NULL,
action = NULL, container = NULL, ..., toolkit = guiToolkit())
Arguments
items
Vector of values to select from. This may also be a data frame, in which case the first column is the vector of values, the second (if present) indicates a stock icon to display with the item (not all toolkits), and the third (if present) will indicate a
selected
For gradio the initial selected value (as an index)
For a drop list, the first selected value. Use 0 to
leave blank
editable
A logical indicating if the user can
add an entry to the list of available answers
coerce.with
Apply this function to selected value before returning
handler
Called when selection is changed
action
Passed to handler when called.
container
Optional container to attach widget to
...
Passed to add
method of container
toolkit
Which GUI toolkit to use