inst/tests/statusbar.R

w <- gwindow("statusbar")
sb <- gstatusbar("statusbar", cont=w)

g <- ggroup(cont=w)
sb1 <- gstatusbar("inner bar", cont=g)

## test
## svsalu
expect_equal(svalue(sb), "statusbar")

## svalue<--
svalue(sb) <- "new"
expect_equal(svalue(sb), "new")

Try the gWidgetsWWW2 package in your browser

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

gWidgetsWWW2 documentation built on May 2, 2019, 6:10 p.m.