Description Usage Arguments Details Examples
A constructor for a paned group.
1 2 | gpanedgroup(widget1=NULL, widget2=NULL, horizontal = TRUE,
container = NULL, ..., toolkit = guiToolkit())
|
widget1 |
Left (top) widget. Can be added at time of
construction, or the |
widget2 |
Right (bottom) widget |
horizontal |
Left/right ( |
container |
Optional container to attach widget to |
... |
Passed to |
toolkit |
Which GUI toolkit to use |
The add
method can be used to one child at a time.
The svalue
method returns the sash position with a value
between 0 and 1.
The svalue<-
method can be used to specify the sash position
with a value between 0 and 1.
1 2 3 4 5 6 7 8 | ## Not run:
w <- gwindow("gpanedgroup example")
pg <- gpanedgroup(container=w)
gvarbrowser(container = pg) ## first is left/top
gtext(container = pg)
svalue(pg) <- 0.25
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.