Method
GtkToolButtonset_icon_widget
Declaration [src]
void
gtk_tool_button_set_icon_widget (
GtkToolButton* button,
GtkWidget* icon_widget
)
Description [src]
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.
Available since: | 2.4 |
Sets property | Gtk.ToolButton:icon-widget |
Parameters
icon_widget |
GtkWidget |
The widget used as icon, or |
|
The argument can be NULL . | |
The data is owned by the caller of the function. |