## example to show all the buttons with their icons.

w <- gwindow("Example of icons with buttons")
g <- ggroup(cont = w, horizontal=FALSE)

x <- getStockIcons()
g1 <- ggroup(cont=g, horizontal=FALSE)
glabel("Buttons with stock icons in gWidgetsWWW", cont=g1)
for(i in names(x))
  gbutton(i, cont=g1)

## show off
gstatusbar("Powered by RApache and gWidgetsWWW", cont = w)
visible(w) <- TRUE

Try the gWidgetsWWW package in your browser

Any scripts or data that you put into this service are public.

gWidgetsWWW documentation built on May 2, 2019, 4:47 p.m.