Learn R Programming

traitr (version 0.14)

labelItem: Simple label item

Description

Useful to adding text to a dialog. Has no interactivity.

Usage

labelItem(value = "label", name, label, help = "", tooltip = "", attr, model, editor, ...)

Arguments

value
Default value for the label
name
Required name for object. Names should be unique within a group of items
label
Same as value. Here for consistency, but needn't be used
help
Optional help string
tooltip
Optional tooltip to display
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() for its methods and properties