ggraphicsnotebook: A notebook widget holding plot devices

Description Usage Arguments

View source: R/ggraphicsnotebook.R

Description

A notebook widget holding plot devices

S3 generic whose methods are implemented in the toolkit packages

toolkit implementation

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
ggraphicsnotebook(
  width = dpi * 6,
  height = dpi * 6,
  dpi = 75,
  container = NULL,
  ...,
  toolkit = guiToolkit()
)

.ggraphicsnotebook(toolkit, width, height, dpi, container, ...)

## Default S3 method:
.ggraphicsnotebook(toolkit, width, height, dpi, container, ...)

Arguments

width

width in pixels

height

height in pixels

dpi

screen resolution

container

A parent container. When a widget is created it can be incorporated into the widget heirarchy by passing in a parent container at construction time. (For some toolkits this is not optional, e.g. gWidgets2tcltk or gWidgets2WWW2.)

...

These values are passed to the add method of the parent container. Examples of values are expand, fill, and anchor, although they're not always supported by a given widget. For more details see add. Occasionally the variable arguments feature has been used to sneak in hidden arguments to toolkit implementations. For example, when using a widget as a menubar object one can specify a parent argument to pass in parent information, similar to how the argument is used with gaction and the dialogs.

toolkit

Each widget constructor is passed in the toolkit it will use. This is typically done using the default, which will lookup the toolkit through guiToolkit.


gWidgets2 documentation built on Jan. 11, 2022, 1:07 a.m.