Learn R Programming

traitr (version 0.3)

graphicDeviceItem: A graphic device item.

Description

A graphic device item. (Only with RGtk2 and cairoDevice!)

Usage

graphicDeviceItem(value="", name, label=name, help="", tooltip="",
    attr=list(size = c(480, 480)), model, editor, ...)

Arguments

value
ingored
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
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.

Details

This device will become the current one if the mouse clicks in the window, or even just crosses over the window. This isn't perfect, but should be easy enough to get used to. This only works with gWidgetsRGtk2