getStockIconByName: Get the icon class (or url) by its name

Description Usage Arguments Value Examples

View source: R/icons.R

Description

Get the icon class (or url) by its name

Usage

1
getStockIconByName(icon_name, css = TRUE)

Arguments

icon_name

icon name to be looked up in stock icons

css

logical. If TRUE, return css class name, else url

Value

Icon css class (or url) or NA if not there

Examples

1
2
getStockIconByName("up") ## "x-gw-icon-up"
getStockIconByName("Not there") ## NULL

jverzani/gWidgetsWWW2 documentation built on May 18, 2017, 2 p.m.