Learn R Programming

traitr (version 0.14)

integerItem: Item for integers

Description

Item for integers

Usage

integerItem(value = integer(0), name, label = name, help = "", tooltip = "", eval_first = FALSE, attr, model, editor, ...)

Arguments

value
Default value for the model
name
Required name for object. Names should be unique within a group of items
label
Optional label, default value is the name
help
Optional help string
tooltip
Optional tooltip to display
eval_first
Should value be run through eval/parse before coercion.
attr
A list of attributes to pass to widget on construction. Eg. attr=list(size=c(100,200))
model
Optional model. Useful if one wishes to use same model for multiple views
editor
Specification of editor (a view) to override default
...
Passed to parent proto object during call to proto

Value

A proto object. Call obj$show_help() to view its methods and properties.

See Also

numericItem