Description Usage Arguments Note See Also Examples
The framed box container inherits from ggroup
. The main
addition is a label, which is accessed via the name
method.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
text |
frame label |
markup |
does label use markup (toolkit specific) |
pos |
position of label: 0=left, 1=right, some toolkit allow values in between |
horizontal |
logical. If TRUE, left to right layout, otherwise top to bottom |
spacing |
spacing aroud widget |
container |
parent container |
... |
passed through |
toolkit |
toolkit |
to include a scrollwindow, place a ggroup
within this window.
ggroup
and gexpandgroup
1 2 3 4 5 6 7 8 9 10 | ## Not run:
w <- gwindow("gformlayout", visible=FALSE)
f <- gframe("frame", horizontal=FALSE, container=w)
glabel("Lorem ipsum dolor sit amet, \nconsectetur adipiscing elit.", container=f)
gbutton("change name", container=f, handler=function(h,...) {
names(f) <- "new name"
})
visible(w) <- TRUE
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.