gtkToolButtonSetStockId {RGtk2} | R Documentation

## gtkToolButtonSetStockId

### Description

Sets the name of the stock item. See `gtkToolButtonNewFromStock`. The stock_id property only has an effect if not overridden by non-`NULL` "label" and "icon_widget" properties.

### Usage

    gtkToolButtonSetStockId(object, stock.id = NULL)

### Arguments

``object`` | a `GtkToolButton`
``stock.id`` | a name of a stock item, or `NULL`. [ allow-none ]

### Details

Since 2.4

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]