labelItem: Simple label item

Description Usage Arguments Value

Description

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

Usage

1
2
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


traitr documentation built on May 2, 2019, 3:32 p.m.