gtkToggleToolButtonNewFromStock {RGtk2} | R Documentation

## gtkToggleToolButtonNewFromStock

### Description

Creates a new `GtkToggleToolButton` containing the image and text from a stock item. Some stock ids have preprocessor functions like `GTK_STOCK_OK` and `GTK_STOCK_APPLY`.

### Usage

    gtkToggleToolButtonNewFromStock(stock.id)

### Arguments

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

### Details

It is an error if `stock.id` is not a name of a stock item. Since 2.4

### Value

[`GtkToolItem`] A new `GtkToggleToolButton`

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]