inst/tests/ex-glabel.R

w <- gwindow("glabel example", visible=FALSE)

widget <- glabel("test label", cont = w)

# svalue
print(svalue(widget))

# svalue<-
svalue(widget) <- "new label"

# font
font(widget) <- c("weight"="bold", "color"="red")

visible(w) <- TRUE

Try the gWidgets package in your browser

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

gWidgets documentation built on April 29, 2020, 9:37 a.m.