ToolButton.this

Creates a new #GtkToolButton containing the image and text from a stock item. Some stock ids have preprocessor macros like #GTK_STOCK_OK and #GTK_STOCK_APPLY.

It is an error if @stock_id is not a name of a stock item.

More...

Parameters

stockId string

the name of the stock item

Return: A new #GtkToolButton

Detailed Description

Deprecated: Use gtk_tool_button_new() together with gtk_image_new_from_icon_name() instead.

Throws

ConstructionException GTK+ fails to create the object.

Meta