gtkButtonNewFromStock {RGtk2} | R Documentation

## gtkButtonNewFromStock

### Description

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`.

### Usage

    gtkButtonNewFromStock(stock.id, show = TRUE)

### Arguments

``stock.id`` | the name of the stock item

### Details

If `stock.id` is unknown, then it will be treated as a mnemonic label (as for `gtkButtonNewWithMnemonic`).

### Value

[`GtkWidget`] a new `GtkButton`

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]