Description Usage Arguments Value Author(s)
Creates a GtkImage displaying a stock icon. Sample stock icon
names are GTK_STOCK_OPEN, GTK_STOCK_QUIT. Sample stock sizes
are GTK_ICON_SIZE_MENU, GTK_ICON_SIZE_SMALL_TOOLBAR. If the stock
icon name isn't known, the image will be empty.
You can register your own stock icon names, see
gtkIconFactoryAddDefault and gtkIconFactoryAdd.
1 | gtkImageNewFromStock(stock.id, size, show = TRUE)
|
|
a stock icon name |
|
a stock icon size. [ type int] |
[GtkWidget] a new GtkImage displaying the stock icon
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.