Description Usage Arguments See Also Examples
Use svalue<-
to adjust the title. The visible<-
method is used to programatically change whether the child
components are displayed.
1 2 3 |
text |
label text |
horizontal |
Boolean. Set to |
spacing |
Integer. Between child spacing. |
use.scrollwindow |
Boolean. Set to |
container |
A parent container. In gWidgetsWWW2 a
parent container is not optional (though it can be substituted
with the |
handler |
Called when expanded or closed |
action |
passed to handler |
... |
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 |
1 2 3 4 5 | w <- gwindow()
sb <- gstatusbar("Powered by gWidgetsWWW and Rook", cont=w)
g <- gexpandgroup("click to close", cont=w)
gbutton("some button", cont=g)
visible(g) <- FALSE ## to close
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.