getStockIconByName {gWidgetsWWW2} | R Documentation |
Get the icon class (or url) by its name
getStockIconByName(icon_name, css = TRUE)
icon_name |
icon name to be looked up in stock icons |
css |
logical. If TRUE, return css class name, else url |
Icon css class (or url) or NA if not there
getStockIconByName("up") ## "x-gw-icon-up" getStockIconByName("Not there") ## NULL