Method

GtkToolButtonset_icon_name

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 const gchar*
 

The name of the themed icon.

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