gtkToolButtonSetIconWidget {RGtk2} | R Documentation

## gtkToolButtonSetIconWidget

### Description

Sets `icon` as the widget used as icon on `button`. If `icon.widget` is `NULL` the icon is determined by the "stock_id" property. If the "stock_id" property is also `NULL`, `button` will not have an icon.

### Usage

    gtkToolButtonSetIconWidget(object, icon.widget = NULL)

### Arguments

``object`` | a `GtkToolButton`
``icon.widget`` | the widget used as icon, or `NULL`. [ allow-none ]

### Details

Since 2.4

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]