imageItem: Display an image specified by its filename.

Description Usage Arguments Value See Also Examples

Description

Display an image specified by its filename.

Usage

1
2
imageItem(value = "", name, label = name, help = "", tooltip = "",
  attr = list(), model, editor, ...)

Arguments

value

name of file

name

Required name for object. Names should be unique within a group of items

label

ignored

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

ignored

editor

ignored

...

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

Item

Examples

1
2
3
img <- system.file("images/plot.gif", package="gWidgets")   ## some image
i <- imageItem(img)                                         ## constructor
## Not run: i$make_ui(container=gwindow("Image"))                       ## show item directly

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