Method

GtkToolButtonset_icon_name

since: 2.8

Declaration [src]

void
gtk_tool_button_set_icon_name (
  GtkToolButton* button,
  const gchar* icon_name
)

Description [src]

Sets the icon for the tool button from a named themed icon. See the docs for GtkIconTheme for more details. The GtkToolButton:icon-name property only has an effect if not overridden by non-NULL GtkToolButton:label-widget, GtkToolButton:icon-widget and GtkToolButton:stock-id properties.

Available since: 2.8

Parameters

icon_name

Type: const gchar*

The name of the themed icon.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.