ToolButton.setIconWidget

Sets @icon as the widget used as icon on @button. If @icon_widget is %NULL the icon is determined by the #GtkToolButton:stock-id property. If the #GtkToolButton:stock-id property is also %NULL, @button will not have an icon.

class ToolButton
void
setIconWidget

Parameters

iconWidget Widget

the widget used as icon, or %NULL

Meta