getStockIconByName {gWidgetsWWW2}R Documentation

Get the icon class (or url) by its name

Description

Get the icon class (or url) by its name

Usage

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

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

[Package gWidgetsWWW2 version 0.4-8 Index]