swh:1:snp:3a4bc456f1832b81cfa640941c632f6d5535d3a4
Raw File
Tip revision: cd86b08de1e3b03a04b7def69418a9e9a1b5a441 authored by R. Wayne Oldford on 16 March 2021, 21:40:03 UTC
version 1.3.4
Tip revision: cd86b08
l_setTitleFont.R
#' @title Set the title font of all loon displays
#'
#' @description All of loon's displays access a set of common options.
#' This function sets the font for the title bar of the displays.
#'
#' @param size the font size.
#' @param weight the font size.
#' @param family the font family.
#'
#' @return the value of the named option.
#'
#' @seealso \code{\link{l_getOptionNames}}, \code{\link{l_userOptions}},
#'   \code{\link{l_userOptionDefault}}, \code{\link{l_setOption}}
#'
l_setTitleFont <- function(size='16', weight="bold", family="Helvetica") {
    tcl('font', 'configure',
        tcl('set', '::loon::Options(font-title)'),
        weight=weight, size=size, family=family)
    invisible()
}

back to top