TclTk-labels: Tcl/Tk labels

TclTk-labelsR Documentation

Tcl/Tk labels

Description

Functions, that create Tcl/Tk labels.

  • tk_label() Uses the default color for labels (usually, black).

  • tk_label_blue() Uses the default color for titles (usually, blue).

Usage

tk_label(parent, text = "", ..., fg = NULL)

tk_label_blue(parent, text = "", ..., fg = Rcmdr::getRcmdr("title.color"))

tk_label_red(parent, ..., size = 8, weight = "bold", fg = "darkred")

Arguments

parent

("tkwin" object) Parent Tcl/Tk window or frame.

text

(character) Label text.

...

Other arguments to pass to tcltk2::tk2label().

fg

(character) Foreground color.

size

(integer) Font size

weight

(character) Font weight.

See Also

tcltk2::tk2label(), Rcmdr::labelRcmdr(), tcltk::ttklabel().


GegznaV/RcmdrPlugin.BioStat documentation built on May 8, 2023, 7:41 a.m.