File: ex-glabel.R

package info (click to toggle)
r-cran-gwidgets 0.0-54.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 2,360 kB
  • sloc: sh: 13; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 240 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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