Description Usage Arguments Details Examples
Two functions for listing "stock" icons, and adding "stock" icons. A stock icon can be referenced within gWidgets by its simple name, such as "ok" or "close".
1 2 3 | addStockIcons(iconNames, iconFiles, ...,toolkit=guiToolkit())
getStockIcons(..., toolkit=guiToolkit())
|
iconNames |
A vector of icon names |
iconFiles |
A matching vector of filenames for the icons |
... |
ignored |
toolkit |
Which toolkit to use |
The file type must be supported by the toolkit. The tcltk
supports few filetypes without additional libraries.
1 2 3 4 5 6 7 | ## Not run:
iconNames <- c("larrow","rarrow")
iconFiles <= c("/usr/share/icons/larrow.png",
"/usr/share/icons/rarrow.png")
addStockIcons(iconNames, iconFiles)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.