MenuToolButton.newFromStock

gtk.menu_tool_button.MenuToolButton newFromStock(string stockId)

Creates a new #GtkMenuToolButton. The new #GtkMenuToolButton will contain an icon and label from the stock item indicated by stock_id.

Parameters

stockIdthe name of a stock item

Returns

the new #GtkMenuToolButton

Deprecated

Use [gtk.menu_tool_button.MenuToolButton.new_] instead.