gtkButtonNewFromStock {RGtk2} | R Documentation |
Creates a new GtkButton
containing the image and text from a stock item.
Some stock ids have preprocessor functions like GTK_STOCK_OK
and
GTK_STOCK_APPLY
.
gtkButtonNewFromStock(stock.id, show = TRUE)
|
[character] the name of the stock item |
If stock.id
is unknown, then it will be treated as a mnemonic
label (as for gtkButtonNewWithMnemonic
).
Derived by RGtkGen from GTK+ documentation