Method

GtkButtonset_icon_name

Declaration [src]

void
gtk_button_set_icon_name (
  GtkButton* button,
  const char* icon_name
)

Description [src]

Adds a GtkImage with the given icon name as a child.

If button already contains a child widget, that child widget will be removed and replaced with the image.

Sets propertyGtk.Button:icon-name

Parameters

icon_name const char*
 

An icon name.

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