Description Usage Arguments Value Examples
This container has two children and a vertical/horizontal sash to
allocate space between them. Simply use as a parent container
twice. Unlike other gWidgets implementations, svalue<-
is not implemented.
If in horizontal mode, the second widget added will be to the left.
1 2 3 |
horizontal |
logical. Side by side (or top/bottom) layout |
container |
A parent container. In gWidgetsWWW2 a
parent container is not optional (though it can be substituted
with the |
... |
Used to pass along argument to the parent container's
|
width |
width in pixels of component. Sizing in
gWidgetsWWW2 is sometimes necessary as the arguments
|
height |
height in pixels of the component. |
ext.args |
The contructors of gWidgetsWWW2 ultimately
call an Ext constructor. The options passed to the Ext constructor
may be added to or overridden by use of this argument. Values are
passed in as named list components and with values converted into JavaScript
objects by |
collapsible |
logical. If TRUE, one child will have a button so that it can be collapsed |
default.size |
Integer pixel size of right or bottom
container when drawn. Defaults to half of height or width, or 200
if those are NULL. There is no |
an ExtContainer object
1 2 3 4 | w <- gwindow()
pg <- gpanedgroup(cont=w, horizontal=TRUE)
gbutton("left", cont=pg)
gbutton("right", cont=pg)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.