gnotebook: Notebook container

Description Usage Arguments See Also Examples

Description

Notebook container

Usage

1
2
  gnotebook(tab.pos = 3, close.buttons = FALSE, container,
    ..., width = NULL, height = NULL, ext.args = NULL)

Arguments

tab.pos

where to place tabs. A value of 1 is the bottom, else the top.

close.buttons

Logical. Are there close buttons on the tabs? If TRUE, then the underlying methods (length, svalue, ...) will get all messed up!

See Also

The gstackwidget container is similar, but has no tabs.

Examples

1
2
3
4
5
w <- gwindow()
nb <- gnotebook(cont=w)
gbutton("hello", container=nb, label="My label") ## pass in label argument through ... to \code{add}
gbutton("page 2", container=nb, label="page 2")
svalue(nb) <- 1

jverzani/gWidgetsWWW2.rapache documentation built on May 20, 2019, 5:19 a.m.