Method

GtkToolButtonget_stock_id

deprecated: 3.10 since: 2.4

Declaration [src]

const gchar*
gtk_tool_button_get_stock_id (
  GtkToolButton* button
)

Description [src]

Returns the name of the stock item. See gtk_tool_button_set_stock_id(). The returned string is owned by GTK+ and must not be freed or modifed.

Available since: 2.4

Deprecated since: 3.10

Use gtk_tool_button_get_icon_name() instead.

Return value

Type: const gchar*

The name of the stock item for button.

The returned data is owned by the instance.
The value is a NUL terminated UTF-8 string.